Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIKeyAuth ¶
type FileRealm ¶
type FileRealm struct { Basic []BasicAuth `json:"basic"` APIKey []APIKeyAuth `json:"api_key"` }
func NewFileRealm ¶
func NewFileRealm(opts *config.FileRealmOption) (*FileRealm, error)
NewFileRealm constructs a new File Realm authenticator
func (*FileRealm) Authenticate ¶
func (r *FileRealm) Authenticate(ctx context.Context, cred *auth.Credential) (*auth.AuthenticatedUser, error)
Click to show internal directories.
Click to hide internal directories.