Documentation ¶
Index ¶
Constants ¶
View Source
const ( // UserToken is the name of the user token. UserToken = "user" // SessToken is the name of the session token. SessToken = "sess" // HookToken is the name of the hook token. HookToken = "hook" // CsrfToken is the name of the CSRF token. CsrfToken = "csrf" )
View Source
const SignerAlgo = "HS256"
SignerAlgo defines the default algorithm used to sign JWT tokens.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type SecretFunc ¶
SecretFunc is the definition of the required secret retrieval function.
Click to show internal directories.
Click to hide internal directories.