Documentation ¶
Index ¶
- Constants
- type Error
- func (e Error) ExecuteLoginPostHook(w http.ResponseWriter, r *http.Request, a *login.Request, s *session.Session) error
- func (e Error) ExecuteLoginPreHook(w http.ResponseWriter, r *http.Request, a *login.Request) error
- func (e Error) ExecutePostRegistrationPostPersistHook(w http.ResponseWriter, r *http.Request, a *registration.Request, ...) error
- func (e Error) ExecutePostRegistrationPrePersistHook(w http.ResponseWriter, r *http.Request, a *registration.Request, ...) error
- func (e Error) ExecuteRegistrationPreHook(w http.ResponseWriter, r *http.Request, a *registration.Request) error
- func (e Error) ExecuteSettingsPostPersistHook(w http.ResponseWriter, r *http.Request, a *settings.Request, ...) error
- func (e Error) ExecuteSettingsPrePersistHook(w http.ResponseWriter, r *http.Request, a *settings.Request, ...) error
- type Redirector
- func (e *Redirector) ExecuteLoginPostHook(w http.ResponseWriter, r *http.Request, _ *login.Request, _ *session.Session) error
- func (e *Redirector) ExecuteLoginPreHook(w http.ResponseWriter, r *http.Request, _ *login.Request) error
- func (e *Redirector) ExecutePostRegistrationPrePersistHook(w http.ResponseWriter, r *http.Request, _ *registration.Request, ...) error
- func (e *Redirector) ExecuteRegistrationPreHook(w http.ResponseWriter, r *http.Request, _ *registration.Request) error
- func (e *Redirector) ExecuteSettingsPostPersistHook(w http.ResponseWriter, r *http.Request, _ *settings.Request, ...) error
- func (e *Redirector) ExecuteSettingsPrePersistHook(w http.ResponseWriter, r *http.Request, _ *settings.Request, ...) error
- type SessionDestroyer
- type SessionIssuer
- type SessionIssuerProvider
- type Verifier
Constants ¶
View Source
const ( KeySessionIssuer = "session" KeyVerify = "verify" KeyRedirector = "redirect" KeySessionDestroyer = "revoke_active_sessions" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Error ¶
type Error struct {
Config json.RawMessage
}
func (Error) ExecuteLoginPostHook ¶
func (Error) ExecuteLoginPreHook ¶
func (Error) ExecutePostRegistrationPostPersistHook ¶
func (e Error) ExecutePostRegistrationPostPersistHook(w http.ResponseWriter, r *http.Request, a *registration.Request, s *session.Session) error
func (Error) ExecutePostRegistrationPrePersistHook ¶
func (e Error) ExecutePostRegistrationPrePersistHook(w http.ResponseWriter, r *http.Request, a *registration.Request, i *identity.Identity) error
func (Error) ExecuteRegistrationPreHook ¶
func (e Error) ExecuteRegistrationPreHook(w http.ResponseWriter, r *http.Request, a *registration.Request) error
func (Error) ExecuteSettingsPostPersistHook ¶
type Redirector ¶
type Redirector struct {
// contains filtered or unexported fields
}
func NewRedirector ¶
func NewRedirector(config json.RawMessage) *Redirector
func (*Redirector) ExecuteLoginPostHook ¶
func (e *Redirector) ExecuteLoginPostHook(w http.ResponseWriter, r *http.Request, _ *login.Request, _ *session.Session) error
func (*Redirector) ExecuteLoginPreHook ¶
func (e *Redirector) ExecuteLoginPreHook(w http.ResponseWriter, r *http.Request, _ *login.Request) error
func (*Redirector) ExecutePostRegistrationPrePersistHook ¶
func (e *Redirector) ExecutePostRegistrationPrePersistHook(w http.ResponseWriter, r *http.Request, _ *registration.Request, _ *identity.Identity) error
func (*Redirector) ExecuteRegistrationPreHook ¶
func (e *Redirector) ExecuteRegistrationPreHook(w http.ResponseWriter, r *http.Request, _ *registration.Request) error
func (*Redirector) ExecuteSettingsPostPersistHook ¶
func (e *Redirector) ExecuteSettingsPostPersistHook(w http.ResponseWriter, r *http.Request, _ *settings.Request, _ *identity.Identity) error
func (*Redirector) ExecuteSettingsPrePersistHook ¶
func (e *Redirector) ExecuteSettingsPrePersistHook(w http.ResponseWriter, r *http.Request, _ *settings.Request, _ *identity.Identity) error
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.Request, s *session.Session) error
type SessionIssuer ¶
type SessionIssuer struct {
// contains filtered or unexported fields
}
func NewSessionIssuer ¶
func NewSessionIssuer(r sessionIssuerDependencies) *SessionIssuer
func (*SessionIssuer) ExecuteLoginPostHook ¶
func (e *SessionIssuer) ExecuteLoginPostHook(w http.ResponseWriter, r *http.Request, a *login.Request, s *session.Session) error
func (*SessionIssuer) ExecutePostRegistrationPostPersistHook ¶
func (e *SessionIssuer) ExecutePostRegistrationPostPersistHook(w http.ResponseWriter, r *http.Request, a *registration.Request, 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, _ *registration.Request, s *session.Session) error
Click to show internal directories.
Click to hide internal directories.