Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
Config is the configuration for an oauth2 provider, especially all relevant endpoint
func NewConfig ¶
NewConfig creates a new Config for the passed issuer with the passed context.Context and performs the OAuth2/OpenID discovery
type Endpoints ¶
type Endpoints struct { Authorization string `json:"authorization_endpoint"` Token string `json:"token_endpoint"` Userinfo string `json:"userinfo_endpoint"` Registration string `json:"registration_endpoint"` Revocation string `json:"revocation_endpoint"` Introspection string `json:"introspection_endpoint"` }
Endpoints holds all relevant OAuth2/OIDC endpoints
Click to show internal directories.
Click to hide internal directories.