package
0.0.0-20221105022016-c8d72c12d74c
Repository: https://github.com/shnplr/oauth2.git
Documentation: pkg.go.dev
# Functions
TokenSource returns an oauth2.TokenSource that fetches access tokens using 3-legged-OAuth flow.
TokenSourceWithPKCE is an enhanced version of TokenSource with PKCE support.
# Structs
PKCEParams holds parameters to support PKCE.
# Type aliases
AuthorizationHandler is a 3-legged-OAuth helper that prompts the user for OAuth consent at the specified auth code URL and returns an auth code and state upon approval.