Documentation
¶
Index ¶
Constants ¶
View Source
const ContextDownstreamAddressKey = "downstream-address"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Authenticator ¶
type Authenticator struct {
Plain PlainAuthenticator
OAuthBearer OAuthBearerAuthenticator
}
func New ¶
func New(driver, source string) (*Authenticator, error)
func NewInternal ¶
func NewInternal() *Authenticator
type Error ¶
type Error struct {
// Internal error cause. This will not be revealed to the user.
InternalErr error
// Message which can safely be sent to the user without compromising
// security.
ExternalMsg string
}
Error is an authentication error.
type OAuthPlainAuthenticator ¶ added in v0.9.0
type OAuthPlainAuthenticator struct {
OAuthBearer OAuthBearerAuthenticator
}
Click to show internal directories.
Click to hide internal directories.