Documentation ¶
Index ¶
Constants ¶
View Source
const (
AuthCtx contextKey = iota
)
Variables ¶
This section is empty.
Functions ¶
func Authenticate ¶
func Authenticate(ctx context.Context, input *openapi3filter.AuthenticationInput) error
Authenticate is a fake implementation of the authenticator.
func GetAPIKeyFromRequest ¶
GetAPIKeyFromRequest is a fake implementation of the API key extractor.
func NewAuthenticator ¶
func NewAuthenticator() openapi3filter.AuthenticationFunc
NewAuthenticator returns a new authenticator.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.