Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewTokenSource ¶
func NewTokenSource( ctx context.Context, httpClient *http.Client, cfg config.ConfigurationOAUTH2, ) (oauth2.TokenSource, error)
NewTokenSource inspects the OAuth2 configuration and returns the appropriate oauth2.TokenSource for the configured auth method.
Supported methods:
- client_secret_basic (default)
- client_secret_post
- private_key_jwt
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.