Versions in this module Expand all Collapse all v0 v0.0.1 Apr 2, 2024 Changes in this version + const ScopeOIDC + const ScopeProfile + type API struct + func New(c Config) (*API, error) + func (a API) JWKs(c echo.Context) error + func (a API) Logout(c echo.Context) error + func (a API) Register(app *echo.Echo) error + func (a API) Token(c echo.Context) error + func (a API) UserInfo(c echo.Context) error + type AccessTknClaims struct + Scopes []string + UserID string + type Config struct + BaseURL string + DB *sqlc.Queries + FS fs.Storage + Key conf.Key + Providers conf.Providers + type IDTknClaims struct + SID string + type JWK struct + Alg string + Crv string + Kid string + Kty string + Use string + X string + type Keys struct + JWKs []JWK + type LogoutParams struct + ClientID string + IDTkn string + RedirectURI string + SID string + State string + type LogoutTknClaims struct + Events map[string]struct{} + SID string + type UserInfo struct + AvatarURL string + Email string + Err string + ErrDesc string