Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client interface { GetToken(clientID string, clientSecret string, authURL string) (string, apperrors.AppError) InvalidateAndRetry(clientID string, clientSecret string, authURL string) (string, apperrors.AppError) InvalidateTokenCache(clientID string) }
func NewOauthClient ¶
func NewOauthClient(timeoutDuration int, tokenCache tokencache.TokenCache) Client
Click to show internal directories.
Click to hide internal directories.