MCPcopy Create free account
hub / github.com/supabase/auth / getWebAuthnMFA

Method getWebAuthnMFA

internal/api/mfa.go:86–94  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

84}
85
86func (a *API) getWebAuthnMFA() (*webauthn.WebAuthn, error) {
87 rpConfig := a.config.WebAuthn
88
89 return webauthn.New(&webauthn.Config{
90 RPDisplayName: rpConfig.RPDisplayName,
91 RPID: rpConfig.RPID,
92 RPOrigins: rpConfig.RPOrigins,
93 })
94}
95
96const (
97 QRCodeGenerationErrorMessage = "Error generating QR Code"

Callers 2

verifyWebAuthnFactorMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected