Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Authenticator ¶
type Authenticator struct {
// contains filtered or unexported fields
}
func NewAuthenticator ¶
func NewAuthenticator(webSessions websessions.Service, users users.Service, html html.Writer) *Authenticator
func (*Authenticator) GetUserAndSession ¶
func (a *Authenticator) GetUserAndSession(w http.ResponseWriter, r *http.Request, access AccessType) (*users.User, *websessions.Session, bool)
func (*Authenticator) Logout ¶
func (a *Authenticator) Logout(w http.ResponseWriter, r *http.Request)
type ConsentPage ¶
type ConsentPage struct {
// contains filtered or unexported fields
}
func NewConsentPage ¶
func NewConsentPage( html html.Writer, auth *Authenticator, clients oauthclients.Service, oauthConsent oauthconsents.Service, tools tools.Tools, ) *ConsentPage
func (*ConsentPage) Register ¶
func (h *ConsentPage) Register(r chi.Router, mids *router.Middlewares)
type LoginPage ¶
type LoginPage struct {
// contains filtered or unexported fields
}
func NewLoginPage ¶
func (*LoginPage) Register ¶
func (h *LoginPage) Register(r chi.Router, mids *router.Middlewares)
type MasterAskPasswordPage ¶
type MasterAskPasswordPage struct {
// contains filtered or unexported fields
}
func NewAskMasterPasswordPage ¶
func NewAskMasterPasswordPage(html html.Writer, masterkey masterkey.Service) *MasterAskPasswordPage
func (*MasterAskPasswordPage) Register ¶
func (h *MasterAskPasswordPage) Register(r chi.Router, mids *router.Middlewares)
type MasterRegisterPasswordPage ¶
type MasterRegisterPasswordPage struct {
// contains filtered or unexported fields
}
func NewRegisterMasterPasswordPage ¶
func NewRegisterMasterPasswordPage(html html.Writer, masterkey masterkey.Service) *MasterRegisterPasswordPage
func (*MasterRegisterPasswordPage) Register ¶
func (h *MasterRegisterPasswordPage) Register(r chi.Router, mids *router.Middlewares)
Click to show internal directories.
Click to hide internal directories.