package
0.0.4
Repository: https://github.com/huynhsamha/oauth2.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
ParseKey converts the binary contents of a private key file to an *rsa.PrivateKey.
RegisterBrokenAuthHeaderProvider previously did something.
ResetAuthCache resets the global authentication style cache used for AuthStyleUnknown token requests.
No description provided by the author

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

HTTPClient is the context key to use with golang.org/x/net/context's WithValue function to associate an *http.Client value with a context.

# Structs

ContextKey is just an empty struct.
ParamsConf describe the config for params purpose to change name of params which not is `client_id` or `client_secret` other providers not follow the oauth2 standard, such as Zalo Social API.
No description provided by the author
Token represents the credentials used to authorize the requests to access protected resources on the OAuth 2.0 provider's backend.

# Type aliases

AuthStyle is a copy of the github.com/huynhsamha/oauth2 package's AuthStyle type.