Documentation ¶
Overview ¶
Package webauthn contains handlers for the WebAuthn flow in authenticate.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
Handler is the WebAuthn device handler.
func (*Handler) GetOptions ¶
func (h *Handler) GetOptions(r *http.Request) ( creationOptions *webauthn.PublicKeyCredentialCreationOptions, requestOptions *webauthn.PublicKeyCredentialRequestOptions, err error, )
GetOptions returns the creation and request options for WebAuthn.
type State ¶
type State struct { AuthenticateURL *url.URL InternalAuthenticateURL *url.URL Client databroker.DataBrokerServiceClient RelyingParty *webauthn.RelyingParty Session *session.Session SessionState *sessions.State SessionStore sessions.SessionStore BrandingOptions httputil.BrandingOptions }
State is the state needed by the Handler to handle requests.
Click to show internal directories.
Click to hide internal directories.