package
1.0.1
Repository: https://github.com/mlohstroh/oauth2.git
Documentation: pkg.go.dev

# Functions

ExchangeToken performs an oauth2 token exchange with the provided endpoint.

# Structs

ClientAuthentication represents an OAuth client ID and secret and the mechanism for passing these credentials as stated in rfc6749#2.3.1.
Error for handling OAuth related error responses as stated in rfc6749#5.2.
STSTokenExchangeRequest contains fields necessary to make an oauth2 token exchange.
STSTokenExchangeResponse is used to decode the remote server response during an oauth2 token exchange.