Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AlpTokenManager ¶
type AlpTokenManager interface { GetBearerToken() (string, error) RefreshToken() error ClearToken() }
func NewTokenManager ¶
func NewTokenManager(openIdConnectTokenUrl string, clientId string, secretKey string) AlpTokenManager
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 }
Source Files ¶
Click to show internal directories.
Click to hide internal directories.