Documentation
¶
Index ¶
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 Redirector ¶
type Redirector struct {
// contains filtered or unexported fields
}
func NewRedirector ¶
func (*Redirector) ExecuteLoginPostHook ¶
func (e *Redirector) ExecuteLoginPostHook(w http.ResponseWriter, r *http.Request, sr *login.Request, _ *session.Session) error
func (*Redirector) ExecuteRegistrationPostHook ¶
func (e *Redirector) ExecuteRegistrationPostHook(w http.ResponseWriter, r *http.Request, sr *registration.Request, _ *session.Session) 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) ExecuteRegistrationPostHook ¶
func (e *SessionIssuer) ExecuteRegistrationPostHook(w http.ResponseWriter, r *http.Request, a *registration.Request, s *session.Session) error
type Verifier ¶
type Verifier struct {
// contains filtered or unexported fields
}
func NewVerifier ¶
func NewVerifier(r verifierDependencies) *Verifier
func (*Verifier) ExecuteRegistrationPostHook ¶
func (e *Verifier) ExecuteRegistrationPostHook(w http.ResponseWriter, r *http.Request, _ *registration.Request, s *session.Session) error
Click to show internal directories.
Click to hide internal directories.