Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Claims ¶
type Claims struct { UID string `json:"uid"` FirstName string `json:"first_name"` jwt.StandardClaims }
Claims is a struct that will be encoded to a JWT. We add jwt.StandardClaims as an embedded type, to provide fields like expiry time
Click to show internal directories.
Click to hide internal directories.