Documentation ¶
Index ¶
- type BuildInfo
- type DefaultDriver
- type Driver
- type Registry
- type RegistryDefault
- func (m *RegistryDefault) BuildDate() string
- func (m *RegistryDefault) BuildHash() string
- func (m *RegistryDefault) BuildVersion() string
- func (m *RegistryDefault) CSRFHandler() x.CSRFHandler
- func (m *RegistryDefault) CanHandle(dsn string) bool
- func (m *RegistryDefault) ContinuityManager() continuity.Manager
- func (m *RegistryDefault) ContinuityPersister() continuity.Persister
- func (m *RegistryDefault) CookieManager() sessions.Store
- func (m *RegistryDefault) Courier() *courier.Courier
- func (m *RegistryDefault) CourierPersister() courier.Persister
- func (m *RegistryDefault) GenerateCSRFToken(r *http.Request) string
- func (m *RegistryDefault) HealthHandler() *healthx.Handler
- func (m *RegistryDefault) HookRedirector(config json.RawMessage) *hook.Redirector
- func (m *RegistryDefault) HookSessionDestroyer() *hook.SessionDestroyer
- func (m *RegistryDefault) HookSessionIssuer() *hook.SessionIssuer
- func (m *RegistryDefault) HookVerifier() *hook.Verifier
- func (m *RegistryDefault) IdentityHandler() *identity.Handler
- func (m *RegistryDefault) IdentityManager() *identity.Manager
- func (m *RegistryDefault) IdentityPool() identity.Pool
- func (m *RegistryDefault) IdentityTraitsSchemas() schema.Schemas
- func (m *RegistryDefault) IdentityValidator() *identity.Validator
- func (m *RegistryDefault) Init() error
- func (m *RegistryDefault) Logger() logrus.FieldLogger
- func (m *RegistryDefault) LoginHandler() *login.Handler
- func (m *RegistryDefault) LoginHookExecutor() *login.HookExecutor
- func (m *RegistryDefault) LoginRequestErrorHandler() *login.ErrorHandler
- func (m *RegistryDefault) LoginRequestPersister() login.RequestPersister
- func (m *RegistryDefault) LoginStrategies() login.Strategies
- func (m *RegistryDefault) LogoutHandler() *logout.Handler
- func (m *RegistryDefault) PasswordHasher() password2.Hasher
- func (m *RegistryDefault) PasswordValidator() password2.Validator
- func (m *RegistryDefault) Persister() persistence.Persister
- func (m *RegistryDefault) Ping() error
- func (m *RegistryDefault) PostLoginHooks(credentialsType identity.CredentialsType) (b []login.PostHookExecutor)
- func (m *RegistryDefault) PostRegistrationPostPersistHooks(credentialsType identity.CredentialsType) (b []registration.PostHookPostPersistExecutor)
- func (m *RegistryDefault) PostRegistrationPrePersistHooks(credentialsType identity.CredentialsType) (b []registration.PostHookPrePersistExecutor)
- func (m *RegistryDefault) PostSettingsPostPersistHooks(settingsType string) (b []settings.PostHookPostPersistExecutor)
- func (m *RegistryDefault) PostSettingsPrePersistHooks(settingsType string) (b []settings.PostHookPrePersistExecutor)
- func (m *RegistryDefault) PreLoginHooks() (b []login.PreHookExecutor)
- func (m *RegistryDefault) PreRegistrationHooks() (b []registration.PreHookExecutor)
- func (m *RegistryDefault) PrivilegedIdentityPool() identity.PrivilegedPool
- func (m *RegistryDefault) RegistrationErrorHandler() *registration.ErrorHandler
- func (m *RegistryDefault) RegistrationExecutor() *registration.HookExecutor
- func (m *RegistryDefault) RegistrationHandler() *registration.Handler
- func (m *RegistryDefault) RegistrationHookExecutor() *registration.HookExecutor
- func (m *RegistryDefault) RegistrationRequestErrorHandler() *registration.ErrorHandler
- func (m *RegistryDefault) RegistrationRequestPersister() registration.RequestPersister
- func (m *RegistryDefault) RegistrationStrategies() registration.Strategies
- func (m *RegistryDefault) SchemaHandler() *schema.Handler
- func (m *RegistryDefault) SelfServiceErrorHandler() *errorx.Handler
- func (m *RegistryDefault) SelfServiceErrorManager() *errorx.Manager
- func (m *RegistryDefault) SelfServiceErrorPersister() errorx.Persister
- func (m *RegistryDefault) SessionHandler() *session.Handler
- func (m *RegistryDefault) SessionManager() session.Manager
- func (m *RegistryDefault) SessionPersister() session.Persister
- func (m *RegistryDefault) SettingsHandler() *settings.Handler
- func (m *RegistryDefault) SettingsHookExecutor() *settings.HookExecutor
- func (m *RegistryDefault) SettingsRequestErrorHandler() *settings.ErrorHandler
- func (m *RegistryDefault) SettingsRequestPersister() settings.RequestPersister
- func (m *RegistryDefault) SettingsStrategies() settings.Strategies
- func (m *RegistryDefault) Tracer() *tracing.Tracer
- func (m *RegistryDefault) VerificationHandler() *verify.Handler
- func (m *RegistryDefault) VerificationManager() *identity.Manager
- func (m *RegistryDefault) VerificationPersister() verify.Persister
- func (m *RegistryDefault) VerificationRequestErrorHandler() *verify.ErrorHandler
- func (m *RegistryDefault) VerificationSender() *verify.Sender
- func (m *RegistryDefault) WithBuildInfo(version, hash, date string) Registry
- func (m *RegistryDefault) WithCSRFHandler(c x.CSRFHandler)
- func (m *RegistryDefault) WithCSRFTokenGenerator(cg x.CSRFToken)
- func (m *RegistryDefault) WithConfig(c configuration.Provider) Registry
- func (m *RegistryDefault) WithHooks(hooks map[string]func(configuration.SelfServiceHook) interface{})
- func (m *RegistryDefault) WithLogger(l logrus.FieldLogger) Registry
- func (m *RegistryDefault) Writer() herodot.Writer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DefaultDriver ¶
type DefaultDriver struct {
// contains filtered or unexported fields
}
func (*DefaultDriver) BuildInfo ¶
func (r *DefaultDriver) BuildInfo() *BuildInfo
func (*DefaultDriver) Configuration ¶
func (r *DefaultDriver) Configuration() configuration.Provider
func (*DefaultDriver) Logger ¶
func (r *DefaultDriver) Logger() logrus.FieldLogger
func (*DefaultDriver) Registry ¶
func (r *DefaultDriver) Registry() Registry
type Driver ¶
type Driver interface { Logger() logrus.FieldLogger Configuration() configuration.Provider Registry() Registry }
func MustNewDefaultDriver ¶
func MustNewDefaultDriver(l logrus.FieldLogger, version, build, date string, dev bool) Driver
func NewDefaultDriver ¶
type Registry ¶
type Registry interface { dbal.Driver Init() error WithConfig(c configuration.Provider) Registry WithLogger(l logrus.FieldLogger) Registry BuildVersion() string BuildDate() string BuildHash() string WithBuildInfo(version, hash, date string) Registry WithCSRFHandler(c x.CSRFHandler) WithCSRFTokenGenerator(cg x.CSRFToken) HealthHandler() *healthx.Handler CookieManager() sessions.Store x.CSRFProvider x.WriterProvider x.LoggingProvider continuity.ManagementProvider continuity.PersistenceProvider courier.Provider persistence.Provider errorx.ManagementProvider errorx.HandlerProvider errorx.PersistenceProvider identity.HandlerProvider identity.ValidationProvider identity.PoolProvider identity.PrivilegedPoolProvider identity.ManagementProvider schema.HandlerProvider password2.ValidationProvider password2.HashProvider session.HandlerProvider session.ManagementProvider session.PersistenceProvider settings.HandlerProvider settings.ErrorHandlerProvider settings.RequestPersistenceProvider settings.StrategyProvider login.RequestPersistenceProvider login.ErrorHandlerProvider login.HooksProvider login.HookExecutorProvider login.HandlerProvider login.StrategyProvider logout.HandlerProvider registration.RequestPersistenceProvider registration.ErrorHandlerProvider registration.HooksProvider registration.HookExecutorProvider registration.HandlerProvider registration.StrategyProvider verify.PersistenceProvider verify.ErrorHandlerProvider verify.SenderProvider verify.HandlerProvider x.CSRFTokenGeneratorProvider }
func NewRegistry ¶
func NewRegistry(c configuration.Provider) (Registry, error)
type RegistryDefault ¶
type RegistryDefault struct {
// contains filtered or unexported fields
}
func NewRegistryDefault ¶
func NewRegistryDefault() *RegistryDefault
func (*RegistryDefault) BuildDate ¶
func (m *RegistryDefault) BuildDate() string
func (*RegistryDefault) BuildHash ¶
func (m *RegistryDefault) BuildHash() string
func (*RegistryDefault) BuildVersion ¶
func (m *RegistryDefault) BuildVersion() string
func (*RegistryDefault) CSRFHandler ¶
func (m *RegistryDefault) CSRFHandler() x.CSRFHandler
func (*RegistryDefault) CanHandle ¶
func (m *RegistryDefault) CanHandle(dsn string) bool
func (*RegistryDefault) ContinuityManager ¶
func (m *RegistryDefault) ContinuityManager() continuity.Manager
func (*RegistryDefault) ContinuityPersister ¶
func (m *RegistryDefault) ContinuityPersister() continuity.Persister
func (*RegistryDefault) CookieManager ¶
func (m *RegistryDefault) CookieManager() sessions.Store
func (*RegistryDefault) Courier ¶
func (m *RegistryDefault) Courier() *courier.Courier
func (*RegistryDefault) CourierPersister ¶
func (m *RegistryDefault) CourierPersister() courier.Persister
func (*RegistryDefault) GenerateCSRFToken ¶
func (m *RegistryDefault) GenerateCSRFToken(r *http.Request) string
func (*RegistryDefault) HealthHandler ¶
func (m *RegistryDefault) HealthHandler() *healthx.Handler
func (*RegistryDefault) HookRedirector ¶
func (m *RegistryDefault) HookRedirector(config json.RawMessage) *hook.Redirector
func (*RegistryDefault) HookSessionDestroyer ¶
func (m *RegistryDefault) HookSessionDestroyer() *hook.SessionDestroyer
func (*RegistryDefault) HookSessionIssuer ¶
func (m *RegistryDefault) HookSessionIssuer() *hook.SessionIssuer
func (*RegistryDefault) HookVerifier ¶
func (m *RegistryDefault) HookVerifier() *hook.Verifier
func (*RegistryDefault) IdentityHandler ¶
func (m *RegistryDefault) IdentityHandler() *identity.Handler
func (*RegistryDefault) IdentityManager ¶
func (m *RegistryDefault) IdentityManager() *identity.Manager
func (*RegistryDefault) IdentityPool ¶
func (m *RegistryDefault) IdentityPool() identity.Pool
func (*RegistryDefault) IdentityTraitsSchemas ¶
func (m *RegistryDefault) IdentityTraitsSchemas() schema.Schemas
func (*RegistryDefault) IdentityValidator ¶
func (m *RegistryDefault) IdentityValidator() *identity.Validator
func (*RegistryDefault) Init ¶
func (m *RegistryDefault) Init() error
func (*RegistryDefault) Logger ¶
func (m *RegistryDefault) Logger() logrus.FieldLogger
func (*RegistryDefault) LoginHandler ¶
func (m *RegistryDefault) LoginHandler() *login.Handler
func (*RegistryDefault) LoginHookExecutor ¶
func (m *RegistryDefault) LoginHookExecutor() *login.HookExecutor
func (*RegistryDefault) LoginRequestErrorHandler ¶
func (m *RegistryDefault) LoginRequestErrorHandler() *login.ErrorHandler
func (*RegistryDefault) LoginRequestPersister ¶
func (m *RegistryDefault) LoginRequestPersister() login.RequestPersister
func (*RegistryDefault) LoginStrategies ¶
func (m *RegistryDefault) LoginStrategies() login.Strategies
func (*RegistryDefault) LogoutHandler ¶
func (m *RegistryDefault) LogoutHandler() *logout.Handler
func (*RegistryDefault) PasswordHasher ¶
func (m *RegistryDefault) PasswordHasher() password2.Hasher
func (*RegistryDefault) PasswordValidator ¶
func (m *RegistryDefault) PasswordValidator() password2.Validator
func (*RegistryDefault) Persister ¶
func (m *RegistryDefault) Persister() persistence.Persister
func (*RegistryDefault) Ping ¶
func (m *RegistryDefault) Ping() error
func (*RegistryDefault) PostLoginHooks ¶
func (m *RegistryDefault) PostLoginHooks(credentialsType identity.CredentialsType) (b []login.PostHookExecutor)
func (*RegistryDefault) PostRegistrationPostPersistHooks ¶
func (m *RegistryDefault) PostRegistrationPostPersistHooks(credentialsType identity.CredentialsType) (b []registration.PostHookPostPersistExecutor)
func (*RegistryDefault) PostRegistrationPrePersistHooks ¶
func (m *RegistryDefault) PostRegistrationPrePersistHooks(credentialsType identity.CredentialsType) (b []registration.PostHookPrePersistExecutor)
func (*RegistryDefault) PostSettingsPostPersistHooks ¶
func (m *RegistryDefault) PostSettingsPostPersistHooks(settingsType string) (b []settings.PostHookPostPersistExecutor)
func (*RegistryDefault) PostSettingsPrePersistHooks ¶
func (m *RegistryDefault) PostSettingsPrePersistHooks(settingsType string) (b []settings.PostHookPrePersistExecutor)
func (*RegistryDefault) PreLoginHooks ¶
func (m *RegistryDefault) PreLoginHooks() (b []login.PreHookExecutor)
func (*RegistryDefault) PreRegistrationHooks ¶
func (m *RegistryDefault) PreRegistrationHooks() (b []registration.PreHookExecutor)
func (*RegistryDefault) PrivilegedIdentityPool ¶
func (m *RegistryDefault) PrivilegedIdentityPool() identity.PrivilegedPool
func (*RegistryDefault) RegistrationErrorHandler ¶
func (m *RegistryDefault) RegistrationErrorHandler() *registration.ErrorHandler
func (*RegistryDefault) RegistrationExecutor ¶
func (m *RegistryDefault) RegistrationExecutor() *registration.HookExecutor
func (*RegistryDefault) RegistrationHandler ¶
func (m *RegistryDefault) RegistrationHandler() *registration.Handler
func (*RegistryDefault) RegistrationHookExecutor ¶
func (m *RegistryDefault) RegistrationHookExecutor() *registration.HookExecutor
func (*RegistryDefault) RegistrationRequestErrorHandler ¶
func (m *RegistryDefault) RegistrationRequestErrorHandler() *registration.ErrorHandler
func (*RegistryDefault) RegistrationRequestPersister ¶
func (m *RegistryDefault) RegistrationRequestPersister() registration.RequestPersister
func (*RegistryDefault) RegistrationStrategies ¶
func (m *RegistryDefault) RegistrationStrategies() registration.Strategies
func (*RegistryDefault) SchemaHandler ¶
func (m *RegistryDefault) SchemaHandler() *schema.Handler
func (*RegistryDefault) SelfServiceErrorHandler ¶
func (m *RegistryDefault) SelfServiceErrorHandler() *errorx.Handler
func (*RegistryDefault) SelfServiceErrorManager ¶
func (m *RegistryDefault) SelfServiceErrorManager() *errorx.Manager
func (*RegistryDefault) SelfServiceErrorPersister ¶
func (m *RegistryDefault) SelfServiceErrorPersister() errorx.Persister
func (*RegistryDefault) SessionHandler ¶
func (m *RegistryDefault) SessionHandler() *session.Handler
func (*RegistryDefault) SessionManager ¶
func (m *RegistryDefault) SessionManager() session.Manager
func (*RegistryDefault) SessionPersister ¶
func (m *RegistryDefault) SessionPersister() session.Persister
func (*RegistryDefault) SettingsHandler ¶
func (m *RegistryDefault) SettingsHandler() *settings.Handler
func (*RegistryDefault) SettingsHookExecutor ¶
func (m *RegistryDefault) SettingsHookExecutor() *settings.HookExecutor
func (*RegistryDefault) SettingsRequestErrorHandler ¶
func (m *RegistryDefault) SettingsRequestErrorHandler() *settings.ErrorHandler
func (*RegistryDefault) SettingsRequestPersister ¶
func (m *RegistryDefault) SettingsRequestPersister() settings.RequestPersister
func (*RegistryDefault) SettingsStrategies ¶
func (m *RegistryDefault) SettingsStrategies() settings.Strategies
func (*RegistryDefault) Tracer ¶
func (m *RegistryDefault) Tracer() *tracing.Tracer
func (*RegistryDefault) VerificationHandler ¶
func (m *RegistryDefault) VerificationHandler() *verify.Handler
func (*RegistryDefault) VerificationManager ¶
func (m *RegistryDefault) VerificationManager() *identity.Manager
func (*RegistryDefault) VerificationPersister ¶
func (m *RegistryDefault) VerificationPersister() verify.Persister
func (*RegistryDefault) VerificationRequestErrorHandler ¶
func (m *RegistryDefault) VerificationRequestErrorHandler() *verify.ErrorHandler
func (*RegistryDefault) VerificationSender ¶
func (m *RegistryDefault) VerificationSender() *verify.Sender
func (*RegistryDefault) WithBuildInfo ¶
func (m *RegistryDefault) WithBuildInfo(version, hash, date string) Registry
func (*RegistryDefault) WithCSRFHandler ¶
func (m *RegistryDefault) WithCSRFHandler(c x.CSRFHandler)
func (*RegistryDefault) WithCSRFTokenGenerator ¶
func (m *RegistryDefault) WithCSRFTokenGenerator(cg x.CSRFToken)
func (*RegistryDefault) WithConfig ¶
func (m *RegistryDefault) WithConfig(c configuration.Provider) Registry
func (*RegistryDefault) WithHooks ¶
func (m *RegistryDefault) WithHooks(hooks map[string]func(configuration.SelfServiceHook) interface{})
func (*RegistryDefault) WithLogger ¶
func (m *RegistryDefault) WithLogger(l logrus.FieldLogger) Registry
func (*RegistryDefault) Writer ¶
func (m *RegistryDefault) Writer() herodot.Writer
Source Files ¶
Click to show internal directories.
Click to hide internal directories.