package
0.0.0-20241226230300
Repository: https://github.com/jing-ze/oauth2-proxy.git
Documentation: pkg.go.dev
# Functions
No description provided by the author
NewGitHubProvider initiates a new GitHubProvider.
NewOIDCProvider initiates a new OIDCProvider.
No description provided by the author
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
ErrMissingCode is returned when a Redeem method is called with an empty code.
ErrMissingIDToken is returned when an oidc.Token does not contain the extra `id_token` field for an IDToken.
ErrMissingOIDCVerifier is returned when a provider didn't set `Verifier` but an attempt to call `Verifier.Verify` was about to be made.
ErrNotImplemented is returned when a provider did not override a default implementation method that doesn't have sensible defaults.
# Structs
No description provided by the author
GitHubProvider represents an GitHub based Identity Provider.
OIDCProvider represents an OIDC based Identity Provider.
ProviderData contains information required to configure all implementations of OAuth2 providers.
# Interfaces
Provider represents an upstream identity provider implementation.