Versions in this module Expand all Collapse all v0 v0.14.0 Apr 24, 2024 v0.13.0 Feb 27, 2024 Changes in this version + const JwkTypeRSA + func JwtResponseEncoder() httptransport.EncodeResponseFunc + func StringResponseEncoder() httptransport.EncodeResponseFunc + type CheckTokenClaims struct + AccountType string + Active *bool + AssignedTenants utils.StringSet + AuthTime time.Time + Currency string + Email string + FirstName string + LastName string + Locale string + OrigUsername string + Permissions utils.StringSet + ProviderDescription string + ProviderDisplayName string + ProviderEmail string + ProviderId string + ProviderName string + ProviderNotificationType string + Roles utils.StringSet + TenantExternalId string + TenantId string + TenantSuspended *bool + UserId string + Username string + func (c *CheckTokenClaims) Get(claim string) interface{} + func (c *CheckTokenClaims) Has(claim string) bool + func (c *CheckTokenClaims) MarshalJSON() ([]byte, error) + func (c *CheckTokenClaims) Set(claim string, value interface{}) + func (c *CheckTokenClaims) UnmarshalJSON(bytes []byte) error + func (c *CheckTokenClaims) Values() map[string]interface{} + type CheckTokenEndpoint struct + func NewCheckTokenEndpoint(issuer security.Issuer, tokenStoreReader oauth2.TokenStoreReader) *CheckTokenEndpoint + func (ep *CheckTokenEndpoint) CheckToken(c context.Context, request *CheckTokenRequest) (response *CheckTokenClaims, err error) + type CheckTokenRequest struct + Hint string + NoDetails bool + Token string + type HierarchyRequest struct + TenantId string + type JwkResponse struct + Exponent string + Id string + Modulus string + Type string + type JwkSetEndpoint struct + func NewJwkSetEndpoint(jwkStore jwt.JwkStore) *JwkSetEndpoint + func (ep *JwkSetEndpoint) JwkSet(c context.Context, _ *JwkSetRequest) (response *JwkSetResponse, err error) + type JwkSetRequest struct + type JwkSetResponse struct + Keys []*JwkResponse + type TenantHierarchyEndpoint struct + func NewTenantHierarchyEndpoint() *TenantHierarchyEndpoint + func (endpoint *TenantHierarchyEndpoint) GetAncestors(ctx context.Context, req *HierarchyRequest) (interface{}, error) + func (endpoint *TenantHierarchyEndpoint) GetChildren(ctx context.Context, req *HierarchyRequest) (interface{}, error) + func (endpoint *TenantHierarchyEndpoint) GetDescendants(ctx context.Context, req *HierarchyRequest) (interface{}, error) + func (endpoint *TenantHierarchyEndpoint) GetParent(ctx context.Context, req *HierarchyRequest) (string, error) + func (endpoint *TenantHierarchyEndpoint) GetRoot(ctx context.Context, _ *web.EmptyRequest) (string, error) + type UserInfoClaims struct + AccountType string + Address *claims.AddressClaim + AssignedTenants utils.StringSet + Audience oauth2.StringSetClaim + Birthday string + DefaultTenantId string + Email string + EmailVerified *bool + FirstName string + FullName string + Gender string + Issuer string + LastName string + Locale string + MiddleName string + Nickname string + Permissions utils.StringSet + PhoneNumVerified *bool + PhoneNumber string + PictureUrl string + PreferredUsername string + ProfileUrl string + Roles utils.StringSet + Subject string + UpdatedAt time.Time + Website string + ZoneInfo string + func (c *UserInfoClaims) Set(claim string, value interface{}) + func (c *UserInfoClaims) UnmarshalJSON(bytes []byte) error + func (c UserInfoClaims) Get(claim string) interface{} + func (c UserInfoClaims) Has(claim string) bool + func (c UserInfoClaims) MarshalJSON() ([]byte, error) + func (c UserInfoClaims) Values() map[string]interface{} + type UserInfoEndpoint struct + func NewUserInfoEndpoint(issuer security.Issuer, accountStore security.AccountStore, ...) *UserInfoEndpoint + func (ep *UserInfoEndpoint) JwtUserInfo(ctx context.Context, _ UserInfoRequest) (resp UserInfoJwtResponse, err error) + func (ep *UserInfoEndpoint) PlainUserInfo(ctx context.Context, _ UserInfoRequest) (resp *UserInfoPlainResponse, err error) + type UserInfoJwtResponse string + func (r UserInfoJwtResponse) MarshalText() (text []byte, err error) + type UserInfoPlainResponse struct + type UserInfoRequest struct + type WellKnownEndpoint struct + func NewWellKnownEndpoint(issuer security.Issuer, idpManager idp.IdentityProviderManager, ...) *WellKnownEndpoint + func (ep *WellKnownEndpoint) OpenIDConfig(ctx context.Context, _ *http.Request) (resp *openid.OPMetadata, err error)