Documentation ¶
Index ¶
- func GetEmail(req *http.Request) string
- type Auth
- func (auth *Auth) GetAuthenticator(w http.ResponseWriter, req *http.Request)
- func (auth *Auth) HandleDisableTwoFactor(w http.ResponseWriter, req *http.Request)
- func (auth *Auth) HandleLogin(w http.ResponseWriter, req *http.Request)
- func (auth *Auth) HandlePrelogin(w http.ResponseWriter, req *http.Request)
- func (auth *Auth) HandleRegister(w http.ResponseWriter, req *http.Request)
- func (auth *Auth) HandleTwoFactor(w http.ResponseWriter, req *http.Request)
- func (auth *Auth) JwtMiddleware(next http.Handler) http.Handler
- func (auth *Auth) VerifyAuthenticatorSecret(w http.ResponseWriter, req *http.Request)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Auth ¶
type Auth struct {
// contains filtered or unexported fields
}
func (*Auth) GetAuthenticator ¶
func (auth *Auth) GetAuthenticator(w http.ResponseWriter, req *http.Request)
func (*Auth) HandleDisableTwoFactor ¶
func (auth *Auth) HandleDisableTwoFactor(w http.ResponseWriter, req *http.Request)
func (*Auth) HandleLogin ¶
func (auth *Auth) HandleLogin(w http.ResponseWriter, req *http.Request)
func (*Auth) HandlePrelogin ¶
func (auth *Auth) HandlePrelogin(w http.ResponseWriter, req *http.Request)
func (*Auth) HandleRegister ¶
func (auth *Auth) HandleRegister(w http.ResponseWriter, req *http.Request)
func (*Auth) HandleTwoFactor ¶
func (auth *Auth) HandleTwoFactor(w http.ResponseWriter, req *http.Request)
func (*Auth) VerifyAuthenticatorSecret ¶
func (auth *Auth) VerifyAuthenticatorSecret(w http.ResponseWriter, req *http.Request)
Click to show internal directories.
Click to hide internal directories.