Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrMissingScheme = errors.New("missing `X-Forwarded-Proto`") ErrMissingHost = errors.New("missing `X-Forwarded-Host`") ErrMissingRequestMethod = errors.New("missing `X-Forwarded-Method`") ErrMissingRequestURI = errors.New("missing `X-Forwarded-Uri`") ErrMissingRealIp = errors.New("missing `X-Real-Ip`") )
Functions ¶
Types ¶
type Authenticator ¶
type Authenticator interface { CanAuthenticate(request *Request) bool Authenticate(request *Request) (*middleware.TumblerClaims, error) }
type Authorizer ¶
type Authorizer interface {
Authorize(claims *middleware.TumblerClaims) (*middleware.TumblerClaims, error)
}
Source Files ¶
Click to show internal directories.
Click to hide internal directories.