Documentation
¶
Overview ¶
Package oauth2 provides OAuth 2 abstractions for this project.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetClientCredentialsToken ¶
func GetClientCredentialsToken( ctx context.Context, clientID string, clientSecret string, scopes []string, tokenEndpointURL string, maxAttempts int, ) (*oauth2.Token, error)
GetClientCredentialsToken receives OAuth2 Client Credentials / application registration details used to request a token from an authorization server and returns a new token or an error if one occurs.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.