Versions in this module Expand all Collapse all v1 v1.0.47 Feb 6, 2024 Changes in this version + type Config struct + AcceptHeaderEnabled bool + AppSecret string + AuthorizationURL string + BaseAuthURL string + ClientID string + ClientSecret string + DelayStart int + DomainName string + Driver string + EmailClaimCheckDisabled bool + IdentityTokenCookieEnabled bool + IdentityTokenCookieName string + IdentityTokenName string + JsCallbackEnabled bool + JwksKeys map[string]string + KeyVerificationDisabled bool + LoginIcon *icons.LoginIcon + LogoutEnabled bool + MetadataDiscoveryDisabled bool + MetadataURL string + Name string + NonceDisabled bool + PassGrantTypeDisabled bool + Realm string + RefreshTokenCookieEnabled bool + RefreshTokenCookieName string + Region string + RequiredTokenFields []string + ResponseType []string + ResponseTypeDisabled bool + RetryAttempts int + RetryInterval int + ScopeDisabled bool + Scopes []string + ServerID string + ServerName string + TLSInsecureSkipVerify bool + TenantID string + TokenURL string + UserGroupFilters []string + UserInfoFields []string + UserInfoRolesFieldName string + UserOrgFilters []string + UserPoolID string + UserRoleMapList []map[string]interface{} + func (cfg *Config) Validate() error + type IdentityProvider struct + func NewIdentityProvider(cfg *Config, logger *zap.Logger) (*IdentityProvider, error) + func (b *IdentityProvider) Authenticate(r *requests.Request) error + func (b *IdentityProvider) Configure() error + func (b *IdentityProvider) Configured() bool + func (b *IdentityProvider) GetConfig() map[string]interface{} + func (b *IdentityProvider) GetDriver() string + func (b *IdentityProvider) GetIdentityTokenCookieName() string + func (b *IdentityProvider) GetKind() string + func (b *IdentityProvider) GetLoginIcon() *icons.LoginIcon + func (b *IdentityProvider) GetLogoutURL() string + func (b *IdentityProvider) GetName() string + func (b *IdentityProvider) GetRealm() string + func (b *IdentityProvider) GetRefreshTokenCookieName() string + func (b *IdentityProvider) Request(op operator.Type, r *requests.Request) error + func (b *IdentityProvider) ScopeExists(scopes ...string) bool + type JwksKey struct + Algorithm string + CoordX string + CoordY string + Curve string + Exponent string + KeyID string + KeyType string + Modulus string + NotBefore string + PublicKeyUse string + SharedSecret string + func NewJwksKeyFromRSAPrivateKey(privKey *rsa.PrivateKey) (*JwksKey, error) + func NewJwksKeyFromRSAPublicKeyPEM(kid, fp string) (*JwksKey, error) + func (k *JwksKey) GetPublic() interface{} + func (k *JwksKey) Validate() error