Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetJWTExpiry ¶
func GetJWTExpiry(tokenData *TokenData) (time.Time, error)
Types ¶
type TokenData ¶
type TokenData struct {
AccessToken string `json:"access_token"`
RefreshToken string `json:"refresh_token"`
TokenType string `json:"token_type"`
}
func ParseTokenData ¶
func ParseTokenData(data []byte) (*TokenData, error)
Click to show internal directories.
Click to hide internal directories.