Documentation
¶
Index ¶
Constants ¶
View Source
const ( // EnvPublicKey is the key of the JWT public key EnvPublicKey = "URU_FRAMEWORKS_SECURE_NOTES_JWT_PUBLIC_KEY" // EnvPrivateKey is the key of the JWT private key EnvPrivateKey = "URU_FRAMEWORKS_SECURE_NOTES_JWT_PRIVATE_KEY" // EnvAccessTokenDuration is the key of the access token duration EnvAccessTokenDuration = "URU_FRAMEWORKS_SECURE_NOTES_ACCESS_TOKEN_DURATION" // EnvRefreshTokenDuration is the key of the refresh token duration EnvRefreshTokenDuration = "URU_FRAMEWORKS_SECURE_NOTES_REFRESH_TOKEN_DURATION" )
Variables ¶
View Source
var ( // Keys are the JWT keys Keys = make(map[string]string) // Durations are the JWT tokens duration Durations = make(map[gojwttoken.Token]time.Duration) // Validator is the JWT validator Validator gojwtvalidator.Validator // Issuer is the JWT issuer Issuer gojwtissuer.Issuer )
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.