Versions in this module Expand all Collapse all v0 v0.1.0 Jun 23, 2026 Changes in this version + var ErrSessionNotFound = errors.New("session not found") + type AuthzClientSession struct + AccessToken string + AuthURL string + ID string + Nonce string + OPIssuer string + RefreshToken string + State string + TokenResponse *oauth2.TokenResponse + Verifier string + type AuthzClientSessionStore interface + DeleteAuthzClientSession func(state string) error + GetAuthzClientSessionByID func(id string) (*AuthzClientSession, error) + GetAuthzClientSessionByState func(state string) (*AuthzClientSession, error) + SaveAuthzClientSession func(session *AuthzClientSession) error + func NewMockAuthzClientSessionStore() AuthzClientSessionStore + type Client struct + ClientID string + RedirectURI string + Scopes []string + ServerMetadata oauth2server.Metadata + func NewFromServerMetadata(serverMetadata oauth2server.Metadata) (*Client, error) + func (cl *Client) AuthCodeURL(state, nonce, verifier string, opts ...oauth2.ParameterOption) (string, error) + func (cl *Client) Exchange(code, verifier string, opts ...oauth2.ParameterOption) (*oauth2.TokenResponse, error) + func (cl *Client) MountRoutes(g *echo.Group)