Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewTokenManager ¶
func NewTokenManager(openIdConnectTokenUrl string, clientId string, secretKey string) tokenManager.AlpTokenManager
func NewTokenManagerWithCustomClient ¶
func NewTokenManagerWithCustomClient(openIdConnectTokenUrl string, clientId string, secretKey string, client *http.Client) tokenManager.AlpTokenManager
Types ¶
type TokenResponseModel ¶
type TokenResponseModel struct { AccessToken string `json:"access_token"` ExpiresIn int64 `json:"expires_in"` RefreshExpiresIn int64 `json:"refresh_expires_in"` RefreshToken string `json:"refresh_token"` SessionState string `json:"session_state"` TokenType string `json:"token_type"` ExpiredAt int64 RefreshExpiredAt int64 }
Click to show internal directories.
Click to hide internal directories.