Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Authenticator ¶
type Authenticator interface {
CreateAuthenticator(s *openapi3.SecurityRequirement) (*rule.Handler, error)
}
type AuthenticatorHttpBearer ¶
type AuthenticatorHttpBearer struct {
// contains filtered or unexported fields
}
func NewAuthenticatorHttpBearer ¶
func NewAuthenticatorHttpBearer(s *openapi3.SecuritySchemeRef, jwksUri string, issuer string, audience string) (*AuthenticatorHttpBearer, error)
func (*AuthenticatorHttpBearer) CreateAuthenticator ¶
func (a *AuthenticatorHttpBearer) CreateAuthenticator(s *openapi3.SecurityRequirement) (*rule.Handler, error)
type AuthenticatorNoop ¶
type AuthenticatorNoop struct{}
func NewAuthenticatorNoop ¶
func NewAuthenticatorNoop() (*AuthenticatorNoop, error)
func (*AuthenticatorNoop) CreateAuthenticator ¶
func (*AuthenticatorNoop) CreateAuthenticator(s *openapi3.SecurityRequirement) (*rule.Handler, error)
type AuthenticatorOAuth2 ¶
type AuthenticatorOAuth2 struct {
// contains filtered or unexported fields
}
func NewAuthenticatorOAuth2 ¶
func NewAuthenticatorOAuth2(s *openapi3.SecuritySchemeRef, jwksUri string, issuer string, audience *string) (*AuthenticatorOAuth2, error)
func (*AuthenticatorOAuth2) CreateAuthenticator ¶
func (a *AuthenticatorOAuth2) CreateAuthenticator(s *openapi3.SecurityRequirement) (*rule.Handler, error)
type AuthenticatorOpenIdConnect ¶
type AuthenticatorOpenIdConnect struct {
// contains filtered or unexported fields
}
func NewAuthenticatorOpenIdConnect ¶
func NewAuthenticatorOpenIdConnect(s *openapi3.SecuritySchemeRef, audience *string) (*AuthenticatorOpenIdConnect, error)
func (*AuthenticatorOpenIdConnect) CreateAuthenticator ¶
func (a *AuthenticatorOpenIdConnect) CreateAuthenticator(s *openapi3.SecurityRequirement) (*rule.Handler, error)
type AuthenticatorType ¶
type AuthenticatorType string
const ( AuthenticatorTypeNoop AuthenticatorType = "noop" AuthenticatorTypeOpenIdConnect AuthenticatorType = "openIdConnect" AuthenticatorTypeOAuth2 AuthenticatorType = "oauth2" AuthenticatorTypeHttp AuthenticatorType = "http" )
type JWTAuthenticatorConfig ¶
type OpenIdConfiguration ¶
Click to show internal directories.
Click to hide internal directories.