handlers

package
v0.0.0-...-6b553b6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 28, 2025 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const (
	BearerPrefix = "Bearer "
)

Variables

This section is empty.

Functions

func FlorenceLoginHandler

func FlorenceLoginHandler(ctx context.Context, store static.Store) http.HandlerFunc

func FlorenceLoginHandlerPOST

func FlorenceLoginHandlerPOST(ctx context.Context, store static.Store) http.HandlerFunc

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 JWTKeysHandler(ctx context.Context, store static.Store) http.HandlerFunc

func TokenSelfDeleteHandler

func TokenSelfDeleteHandler(ctx context.Context) http.HandlerFunc

func TokenSelfGetHandler

func TokenSelfGetHandler(ctx context.Context, store static.Store) http.HandlerFunc

func TokenSelfPutHandler

func TokenSelfPutHandler(ctx context.Context, store static.Store) http.HandlerFunc

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL