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() *nosurf.CSRFHandler
- func (m *RegistryDefault) CanHandle(dsn string) bool
- func (m *RegistryDefault) CookieManager() sessions.Store
- func (m *RegistryDefault) Courier() *courier.Courier
- func (m *RegistryDefault) CourierPersister() courier.Persister
- func (m *RegistryDefault) HealthHandler() *healthx.Handler
- func (m *RegistryDefault) IdentityHandler() *identity.Handler
- 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) []login.PostHookExecutor
- func (m *RegistryDefault) PostRegistrationHooks(credentialsType identity.CredentialsType) []registration.PostHookExecutor
- func (m *RegistryDefault) PreLoginHooks() []login.PreHookExecutor
- func (m *RegistryDefault) PreRegistrationHooks() []registration.PreHookExecutor
- func (m *RegistryDefault) ProfileManagementHandler() *profile.Handler
- func (m *RegistryDefault) ProfileRequestPersister() profile.RequestPersister
- func (m *RegistryDefault) ProfileRequestRequestErrorHandler() *profile.ErrorHandler
- 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) Tracer() *tracing.Tracer
- func (m *RegistryDefault) WithBuildInfo(version, hash, date string) Registry
- func (m *RegistryDefault) WithCSRFHandler(c *nosurf.CSRFHandler)
- func (m *RegistryDefault) WithConfig(c configuration.Provider) Registry
- 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 *nosurf.CSRFHandler) CSRFHandler() *nosurf.CSRFHandler HealthHandler() *healthx.Handler CookieManager() sessions.Store x.WriterProvider x.LoggingProvider persistence.Provider errorx.ManagementProvider errorx.HandlerProvider errorx.PersistenceProvider identity.HandlerProvider identity.ValidationProvider identity.PoolProvider schema.HandlerProvider password2.ValidationProvider password2.HashProvider session.HandlerProvider session.ManagementProvider session.PersistenceProvider profile.HandlerProvider profile.ErrorHandlerProvider profile.RequestPersistenceProvider 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 }
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() *nosurf.CSRFHandler
func (*RegistryDefault) CanHandle ¶
func (m *RegistryDefault) CanHandle(dsn string) bool
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) HealthHandler ¶
func (m *RegistryDefault) HealthHandler() *healthx.Handler
func (*RegistryDefault) IdentityHandler ¶
func (m *RegistryDefault) IdentityHandler() *identity.Handler
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) []login.PostHookExecutor
func (*RegistryDefault) PostRegistrationHooks ¶
func (m *RegistryDefault) PostRegistrationHooks(credentialsType identity.CredentialsType) []registration.PostHookExecutor
func (*RegistryDefault) PreLoginHooks ¶
func (m *RegistryDefault) PreLoginHooks() []login.PreHookExecutor
func (*RegistryDefault) PreRegistrationHooks ¶
func (m *RegistryDefault) PreRegistrationHooks() []registration.PreHookExecutor
func (*RegistryDefault) ProfileManagementHandler ¶
func (m *RegistryDefault) ProfileManagementHandler() *profile.Handler
func (*RegistryDefault) ProfileRequestPersister ¶
func (m *RegistryDefault) ProfileRequestPersister() profile.RequestPersister
func (*RegistryDefault) ProfileRequestRequestErrorHandler ¶
func (m *RegistryDefault) ProfileRequestRequestErrorHandler() *profile.ErrorHandler
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) Tracer ¶
func (m *RegistryDefault) Tracer() *tracing.Tracer
func (*RegistryDefault) WithBuildInfo ¶
func (m *RegistryDefault) WithBuildInfo(version, hash, date string) Registry
func (*RegistryDefault) WithCSRFHandler ¶
func (m *RegistryDefault) WithCSRFHandler(c *nosurf.CSRFHandler)
func (*RegistryDefault) WithConfig ¶
func (m *RegistryDefault) WithConfig(c configuration.Provider) Registry
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.