Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewUnionAuthentication ¶
func NewUnionAuthentication(authRequestHandlers ...authenticator.Request) authenticator.Request
NewUnionAuthentication returns a request authenticator that validates credentials using a chain of authenticator.Request objects
Types ¶
type Authenticator ¶
type Authenticator struct { Handlers []authenticator.Request FailOnError bool }
func (*Authenticator) AuthenticateRequest ¶
AuthenticateRequest authenticates the request using a chain of authenticator.Request objects. The first success returns that identity. Errors are only returned if no matches are found.
Click to show internal directories.
Click to hide internal directories.