Versions in this module Expand all Collapse all v1 v1.0.1 Apr 18, 2024 Changes in this version + func DefaultAuthentication(clientID, redirectURI string, key string, scopes ...string) ... + func WithCodeFlow[T Ctx[C, S], C oidc.IDClaims, S rp.SubjectGetter](auth ClientAuthentication) authentication.HandlerInitializer[T] + type ClientAuthentication func(ctx context.Context, domain string) (rp.RelyingParty, error) + func ClientIDSecretAuthentication(clientID, clientSecret, redirectURI string, scopes []string, ...) ClientAuthentication + func PKCEAuthentication(clientID, redirectURI string, scopes []string, ...) ClientAuthentication + type Ctx interface + GetTokens func() *oidc.Tokens[C] + GetUserInfo func() S + New func() Ctx[C, S] + SetTokens func(*oidc.Tokens[C]) + SetUserInfo func(S) + type UserInfoContext struct + Tokens *oidc.Tokens[C] + UserInfo S + func (c *UserInfoContext[C, S]) GetTokens() *oidc.Tokens[C] + func (c *UserInfoContext[C, S]) GetUserInfo() S + func (c *UserInfoContext[C, S]) IsAuthenticated() bool + func (c *UserInfoContext[C, S]) New() Ctx[C, S] + func (c *UserInfoContext[C, S]) SetTokens(tokens *oidc.Tokens[C]) + func (c *UserInfoContext[C, S]) SetUserInfo(info S)