Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OIDCAuthenticator ¶
type OIDCAuthenticator[T any] struct { // contains filtered or unexported fields }
func NewAuthenticator ¶
func NewAuthenticator[T any](cfg *Config, opts ...Option) (*OIDCAuthenticator[T], error)
func (*OIDCAuthenticator[T]) Callback ¶ added in v1.0.1
func (auth *OIDCAuthenticator[T]) Callback(w http.ResponseWriter, req *http.Request, claims *T) error
func (*OIDCAuthenticator[T]) LoginRedirect ¶ added in v1.0.1
func (auth *OIDCAuthenticator[T]) LoginRedirect(w http.ResponseWriter, req *http.Request, state string)
type Option ¶
type Option func(*OIDCAuthenticator[any])
func WithScopes ¶
func WithStateCookieHttps ¶ added in v1.0.1
func WithStateCookieName ¶
func WithStateCookieSameSiteMode ¶ added in v1.1.0
func WithStateCookieTTL ¶
Click to show internal directories.
Click to hide internal directories.