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, clientSecret, authURL string, headers, queryParameters *map[string][]string, skipVerify bool) (string, apperrors.AppError) GetTokenMTLS(clientID, authURL string, certificate, privateKey []byte, headers, queryParameters *map[string][]string, skipVerify bool) (string, apperrors.AppError) InvalidateTokenCache(clientID string, clientSecret string, authURL string) InvalidateTokenCacheMTLS(clientID, authURL string, certificate, privateKey []byte) }
func NewOauthClient ¶
func NewOauthClient(timeoutDuration int, tokenCache tokencache.TokenCache) Client
Click to show internal directories.
Click to hide internal directories.