Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthClaims ¶
type AuthClaims struct { ExpiresAt int64 `json:"exp,omitempty"` IssuedAt int64 `json:"iat,omitempty"` Issuer string `json:"iss,omitempty"` Subject string `json:"sub,omitempty"` UniqueID string `json:"nameid,omitempty"` Username string `json:"unique_name,omitempty"` Email string `json:"sub,omitempty"` Role string `json:"role,omitempty"` }
func (AuthClaims) Valid ¶
func (c AuthClaims) Valid() error
Click to show internal directories.
Click to hide internal directories.