Documentation
¶
Index ¶
- func BeginLoginHandler(webAuthnCtx *webauthn.WebAuthn, sessionStore *session.Store, ...) func(w http.ResponseWriter, r *http.Request)
- func BeginRegistrationHandler(webAuthnCtx *webauthn.WebAuthn, sessionStore *session.Store, ...) func(w http.ResponseWriter, r *http.Request)
- func CheckJwtHandler(proxy *httputil.ReverseProxy, hostname string, jwtSecret string) func(http.ResponseWriter, *http.Request)
- func FinishLoginHandler(webAuthnCtx *webauthn.WebAuthn, sessionStore *session.Store, ...) func(w http.ResponseWriter, r *http.Request)
- func FinishRegistrationHandler(webAuthnCtx *webauthn.WebAuthn, sessionStore *session.Store, ...) func(w http.ResponseWriter, r *http.Request)
- func RegistrationDisabledHandler() func(w http.ResponseWriter, r *http.Request)
- type FloodClaims
- type JwtOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BeginLoginHandler ¶
func CheckJwtHandler ¶
func CheckJwtHandler(proxy *httputil.ReverseProxy, hostname string, jwtSecret string) func(http.ResponseWriter, *http.Request)
func FinishLoginHandler ¶
func RegistrationDisabledHandler ¶
func RegistrationDisabledHandler() func(w http.ResponseWriter, r *http.Request)
Types ¶
type FloodClaims ¶
type FloodClaims struct { Username string `json:"username"` jwt.StandardClaims }
Click to show internal directories.
Click to hide internal directories.