Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Options ¶
type Options struct { // IssuerURL is the URL of the OpenID Connect issuer. IssuerURL string // RedirectURL is the URL to redirect the user to after they've logged in. RedirectURL string // ClientID is the OAuth2 client ID. ClientID string // ClientSecret is the OAuth2 client secret. ClientSecret string // MaxAge is how long the users session should be valid for. MaxAge *time.Duration // TLSClientConfig is the TLS configuration to use when connecting to the issuer. TLSClientConfig *tls.Config // DiscoverIssuer is whether to discover the issuer public URL using the OpenID Connect discovery endpoint. // This is required if connecting to the issuer on a private URL. DiscoverIssuer bool }
Options allows configuring the OpenID Connect middleware.
Click to show internal directories.
Click to hide internal directories.