Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
ErrUnauthorized is returned when the attempted request is not authorized
Functions ¶
This section is empty.
Types ¶
type AuthenticationHandlerFunc ¶ added in v0.1.3
func (AuthenticationHandlerFunc) Authenticate ¶ added in v0.1.3
func (r AuthenticationHandlerFunc) Authenticate(scheme, payload string) error
type Authenticator ¶ added in v0.1.3
func (Authenticator) Authenticate ¶ added in v0.1.3
func (a Authenticator) Authenticate(r *protocol.RegisterListenerRequest) error
type Handler ¶ added in v0.1.3
func HandleBasic ¶
HandleBasic performs basic authentication for register listener request metadata
func HandleBearer ¶
HandleBearer performs a bearer token comparison for register listener request metadata
func HandleBearerHashed ¶ added in v0.1.1
HandleBearerHashed performs a bearer token comparison for register listener request metadata It expects the token to have been pre-hashed using sha256 and encoded as a hexidecimal string
func HandleExternalAuthorizer ¶ added in v0.1.3
Click to show internal directories.
Click to hide internal directories.