Documentation ¶
Index ¶
- type JWTClaim
- func (t JWTClaim) GetAudience() (jwt.ClaimStrings, error)
- func (t JWTClaim) GetExpirationTime() (*jwt.NumericDate, error)
- func (t JWTClaim) GetIssuedAt() (*jwt.NumericDate, error)
- func (t JWTClaim) GetIssuer() (string, error)
- func (t JWTClaim) GetNotBefore() (*jwt.NumericDate, error)
- func (t JWTClaim) GetSubject() (string, error)
- type ShortcutItem
- type UserModel
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type JWTClaim ¶
type JWTClaim struct { UserId string Sub string Exp jwt.NumericDate }
func (JWTClaim) GetAudience ¶
func (t JWTClaim) GetAudience() (jwt.ClaimStrings, error)
func (JWTClaim) GetExpirationTime ¶
func (t JWTClaim) GetExpirationTime() (*jwt.NumericDate, error)
func (JWTClaim) GetIssuedAt ¶
func (t JWTClaim) GetIssuedAt() (*jwt.NumericDate, error)
func (JWTClaim) GetNotBefore ¶
func (t JWTClaim) GetNotBefore() (*jwt.NumericDate, error)
func (JWTClaim) GetSubject ¶
type ShortcutItem ¶
Click to show internal directories.
Click to hide internal directories.