Documentation ¶
Index ¶
Constants ¶
View Source
const (
TokenKey = "token"
)
Variables ¶
View Source
var ErrNoSigningKeyFound = fmt.Errorf("no signing key found in the JWK set")
Functions ¶
func New ¶
func New(ctx context.Context, config v1beta1.AuthProviderSpec) (auth.Middleware, error)
Types ¶
type OpenidConfig ¶
type OpenidConfig struct { // The OpenID issuer identifier URL. The provider's OpenID configuration // will be fetched from <Issuer>/.well-known/openid-configuration. // The issuer URL must exactly match the issuer in the well-known // configuration, including any trailing slashes. Issuer string `mapstructure:"issuer"` }
type OpenidMiddleware ¶
type OpenidMiddleware struct {
// contains filtered or unexported fields
}
func (*OpenidMiddleware) Description ¶
func (m *OpenidMiddleware) Description() string
func (*OpenidMiddleware) Handle ¶
func (m *OpenidMiddleware) Handle(c *fiber.Ctx) error
Click to show internal directories.
Click to hide internal directories.