Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Options ¶
type Options struct { // Issuer is the URL of the OpenID Connect issuer. Issuer 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 }
Options allows configuring the OpenID Connect middleware.
Click to show internal directories.
Click to hide internal directories.