Documentation ¶
Index ¶
- Constants
- type AddressVerifier
- type AuthStrategy
- type Error
- func (e Error) ExecuteLoginPostHook(w http.ResponseWriter, r *http.Request, a *login.Flow, s *session.Session) error
- func (e Error) ExecuteLoginPreHook(w http.ResponseWriter, r *http.Request, a *login.Flow) error
- func (e Error) ExecutePostRecoveryHook(w http.ResponseWriter, r *http.Request, a *recovery.Flow, s *session.Session) error
- func (e Error) ExecutePostRegistrationPostPersistHook(w http.ResponseWriter, r *http.Request, a *registration.Flow, ...) error
- func (e Error) ExecutePostRegistrationPrePersistHook(w http.ResponseWriter, r *http.Request, a *registration.Flow, ...) error
- func (e Error) ExecutePostVerificationHook(w http.ResponseWriter, r *http.Request, a *verification.Flow, ...) error
- func (e Error) ExecuteRegistrationPreHook(w http.ResponseWriter, r *http.Request, a *registration.Flow) error
- func (e Error) ExecuteSettingsPostPersistHook(w http.ResponseWriter, r *http.Request, a *settings.Flow, s *identity.Identity) error
- func (e Error) ExecuteSettingsPrePersistHook(w http.ResponseWriter, r *http.Request, a *settings.Flow, s *identity.Identity) error
- type SessionDestroyer
- type SessionIssuer
- type SessionIssuerProvider
- type Verifier
- type WebHook
- func (e *WebHook) ExecuteLoginPostHook(_ http.ResponseWriter, req *http.Request, flow *login.Flow, ...) error
- func (e *WebHook) ExecuteLoginPreHook(_ http.ResponseWriter, req *http.Request, flow *login.Flow) error
- func (e *WebHook) ExecutePostRecoveryHook(_ http.ResponseWriter, req *http.Request, flow *recovery.Flow, ...) error
- func (e *WebHook) ExecutePostRegistrationPostPersistHook(_ http.ResponseWriter, req *http.Request, flow *registration.Flow, ...) error
- func (e *WebHook) ExecutePostVerificationHook(_ http.ResponseWriter, req *http.Request, flow *verification.Flow, ...) error
- func (e *WebHook) ExecuteRegistrationPreHook(_ http.ResponseWriter, req *http.Request, flow *registration.Flow) error
- func (e *WebHook) ExecuteSettingsPostPersistHook(_ http.ResponseWriter, req *http.Request, flow *settings.Flow, ...) error
Constants ¶
View Source
const ( KeySessionIssuer = "session" KeySessionDestroyer = "revoke_active_sessions" KeyWebHook = "web_hook" KeyAddressVerifier = "require_verified_address" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddressVerifier ¶
type AddressVerifier struct{}
func NewAddressVerifier ¶
func NewAddressVerifier() *AddressVerifier
func (*AddressVerifier) ExecuteLoginPostHook ¶
func (e *AddressVerifier) ExecuteLoginPostHook(_ http.ResponseWriter, _ *http.Request, f *login.Flow, s *session.Session) error
type AuthStrategy ¶
type AuthStrategy interface {
// contains filtered or unexported methods
}
type Error ¶
type Error struct {
Config json.RawMessage
}
func (Error) ExecuteLoginPostHook ¶
func (Error) ExecuteLoginPreHook ¶
func (Error) ExecutePostRecoveryHook ¶
func (Error) ExecutePostRegistrationPostPersistHook ¶
func (e Error) ExecutePostRegistrationPostPersistHook(w http.ResponseWriter, r *http.Request, a *registration.Flow, s *session.Session) error
func (Error) ExecutePostRegistrationPrePersistHook ¶
func (e Error) ExecutePostRegistrationPrePersistHook(w http.ResponseWriter, r *http.Request, a *registration.Flow, i *identity.Identity) error
func (Error) ExecutePostVerificationHook ¶
func (e Error) ExecutePostVerificationHook(w http.ResponseWriter, r *http.Request, a *verification.Flow, i *identity.Identity) error
func (Error) ExecuteRegistrationPreHook ¶
func (e Error) ExecuteRegistrationPreHook(w http.ResponseWriter, r *http.Request, a *registration.Flow) error
func (Error) ExecuteSettingsPostPersistHook ¶
type SessionDestroyer ¶
type SessionDestroyer struct {
// contains filtered or unexported fields
}
func NewSessionDestroyer ¶
func NewSessionDestroyer(r sessionDestroyerDependencies) *SessionDestroyer
func (*SessionDestroyer) ExecuteLoginPostHook ¶
func (e *SessionDestroyer) ExecuteLoginPostHook(_ http.ResponseWriter, r *http.Request, _ *login.Flow, s *session.Session) error
type SessionIssuer ¶
type SessionIssuer struct {
// contains filtered or unexported fields
}
func NewSessionIssuer ¶
func NewSessionIssuer(r sessionIssuerDependencies) *SessionIssuer
func (*SessionIssuer) ExecutePostRegistrationPostPersistHook ¶
func (e *SessionIssuer) ExecutePostRegistrationPostPersistHook(w http.ResponseWriter, r *http.Request, a *registration.Flow, s *session.Session) error
type SessionIssuerProvider ¶
type SessionIssuerProvider interface {
HookSessionIssuer() *SessionIssuer
}
type Verifier ¶
type Verifier struct {
// contains filtered or unexported fields
}
func NewVerifier ¶
func NewVerifier(r verifierDependencies) *Verifier
func (*Verifier) ExecutePostRegistrationPostPersistHook ¶
func (e *Verifier) ExecutePostRegistrationPostPersistHook(_ http.ResponseWriter, r *http.Request, f *registration.Flow, s *session.Session) error
type WebHook ¶
type WebHook struct {
// contains filtered or unexported fields
}
func NewWebHook ¶
func NewWebHook(r webHookDependencies, c json.RawMessage) *WebHook
func (*WebHook) ExecuteLoginPostHook ¶
func (*WebHook) ExecuteLoginPreHook ¶
func (*WebHook) ExecutePostRecoveryHook ¶
func (*WebHook) ExecutePostRegistrationPostPersistHook ¶
func (e *WebHook) ExecutePostRegistrationPostPersistHook(_ http.ResponseWriter, req *http.Request, flow *registration.Flow, session *session.Session) error
func (*WebHook) ExecutePostVerificationHook ¶
func (e *WebHook) ExecutePostVerificationHook(_ http.ResponseWriter, req *http.Request, flow *verification.Flow, identity *identity.Identity) error
func (*WebHook) ExecuteRegistrationPreHook ¶
func (e *WebHook) ExecuteRegistrationPreHook(_ http.ResponseWriter, req *http.Request, flow *registration.Flow) error
Click to show internal directories.
Click to hide internal directories.