Documentation ¶
Overview ¶
Package jwt manage authorization claims for the app
Index ¶
Constants ¶
View Source
const ( Authorization = "Authorization" TokenType = "Bearer" Expiration = 86400 )
JWT related constants
Variables ¶
This section is empty.
Functions ¶
func FromHeaderVal ¶
FromHeaderVal will remove the JWTTokenType if it prepends the string s, but is also safe to use if s is just the token
Types ¶
Click to show internal directories.
Click to hide internal directories.