Documentation
¶
Index ¶
- Constants
- func FlorenceLoginHandler(ctx context.Context, store static.Store) http.HandlerFunc
- func FlorenceLoginHandlerPOST(ctx context.Context, store static.Store) http.HandlerFunc
- func FlorenceLogoutHandler(ctx context.Context) http.HandlerFunc
- func IdentifyUser(ctx context.Context) http.HandlerFunc
- func JWTKeysHandler(ctx context.Context, store static.Store) http.HandlerFunc
- func TokenSelfDeleteHandler(ctx context.Context) http.HandlerFunc
- func TokenSelfGetHandler(ctx context.Context, store static.Store) http.HandlerFunc
- func TokenSelfPutHandler(ctx context.Context, store static.Store) http.HandlerFunc
Constants ¶
View Source
const (
BearerPrefix = "Bearer "
)
Variables ¶
This section is empty.
Functions ¶
func FlorenceLoginHandler ¶
func FlorenceLogoutHandler ¶
func FlorenceLogoutHandler(ctx context.Context) http.HandlerFunc
FlorenceLogoutHandler invalidates the access, ID and refresh tokens and redirects to the login page
func IdentifyUser ¶
func IdentifyUser(ctx context.Context) http.HandlerFunc
Verify the service token exists within config
func JWTKeysHandler ¶
func TokenSelfDeleteHandler ¶
func TokenSelfDeleteHandler(ctx context.Context) http.HandlerFunc
func TokenSelfGetHandler ¶
func TokenSelfPutHandler ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.