Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ClientFromContext ¶
Types ¶
type TokenAuth ¶
type TokenAuth struct {
// contains filtered or unexported fields
}
func FromAuthenticator ¶
func FromAuthenticator(authenticator *auth.Authenticator) (TokenAuth, error)
FromAuthenticator adapts the shared Brokerkit client authenticator to Echo middleware.
func (TokenAuth) Middleware ¶
func (a TokenAuth) Middleware(next echo.HandlerFunc) echo.HandlerFunc
Click to show internal directories.
Click to hide internal directories.