package
0.0.0-20240724121106-8b35fd58b80a
Repository: https://github.com/warpcomdev/videoapi.git
Documentation: pkg.go.dev

# Functions

ClaimsFrom returns the role of the user in the request.
Login returns a handler that authenticates a user (POST) or refreshes a token (GET).
Logout returns a handler that clears cookies.
WithClaims appends Role information to the request context.
Changes the default cookie path.
Changes the default session duration.
WithHttpOnlyCookie changes the default httpOnly cookie flag.
WithSameSiteCookie changes the default sameSite cookie flag.
WithSecureCookie changes the default secure cookie flag.
WithSuperAdmin sets the super admin password.
No description provided by the author

# Constants

No description provided by the author

# Structs

No description provided by the author

# Type aliases

No description provided by the author