package
0.0.0-20230101183712-202847b4b89b
Repository: https://github.com/corestoreio/csfw.git
Documentation: pkg.go.dev
# Functions
NewHeadSegments creates a new header with an optional algorithm.
NewStore creates a new Store pointer and makes sure that all sub pointer types will also be created.
# Constants
ContentTypeJWT defines the content type of a token.
Header constants define the main headers used for Set() and Get() functions.
Header constants define the main headers used for Set() and Get() functions.
Key constants define the main claims used for Set() and Get() functions.
Key constants define the main claims used for Set() and Get() functions.
Key constants define the main claims used for Set() and Get() functions.
Key constants define the main claims used for Set() and Get() functions.
Key constants define the main claims used for Set() and Get() functions.
Key constants define the main claims used for Set() and Get() functions.
Key...
Key constants define the main claims used for Set() and Get() functions.
not marshalled, internal usage.
Key...
# Variables
TimeFunc provides the current time when parsing token to validate "exp" claim (expiration time).
# Structs
HeadSegments represents a structured version of Header Section, as referenced at http://self-issued.info/docs/draft-jones-json-web-token-01.html#anchor5easyjson:json.
Standard represents a structured version of Claims Section, as referenced at https://tools.ietf.org/html/rfc7519#section-4.1easyjson:json.
Store extends the StandardClaim with important fields for requesting the correct store view, user ID and maybe some more useful fields.
# Type aliases
Map default type for the Claim field in a token.