Documentation ¶
Index ¶
- func Authenticator(next http.Handler) http.Handler
- func ClaimsFromCtx(ctx context.Context) auth.UserClaims
- func SetupAuthenticator(users core.UserStore) func(http.Handler) http.Handler
- func WorkerAuthenticator(next http.Handler) http.Handler
- func WorkerClaimsFromCtx(ctx context.Context) auth.WorkerClaims
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ClaimsFromCtx ¶
func ClaimsFromCtx(ctx context.Context) auth.UserClaims
ClaimsFromCtx returns user claims from context.
func SetupAuthenticator ¶
SetupAuthenticator middleware.
func WorkerAuthenticator ¶
WorkerAuthenticator middleware.
func WorkerClaimsFromCtx ¶
func WorkerClaimsFromCtx(ctx context.Context) auth.WorkerClaims
WorkerClaimsFromCtx returns worker claims from context.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.