Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Authenticator ¶
type Authenticator interface { Authenticated() endpoint.Middleware Authorized() endpoint.Middleware }
func NewAuthenticator ¶
func NewAuthenticator(secret string, authN AuthNFunc, authZ AuthZFunc) Authenticator
type Unauthenticated ¶
type Unauthenticated struct{}
func (Unauthenticated) Error ¶
func (Unauthenticated) Error() string
type Unauthorized ¶
type Unauthorized struct{}
func (Unauthorized) Error ¶
func (Unauthorized) Error() string
type UnknownPrincipal ¶
type UnknownPrincipal struct{}
func (UnknownPrincipal) Error ¶
func (UnknownPrincipal) Error() string
type UnknownSubject ¶
type UnknownSubject struct{}
func (UnknownSubject) Error ¶
func (UnknownSubject) Error() string
Click to show internal directories.
Click to hide internal directories.