()
| 84 | } |
| 85 | |
| 86 | func (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 | |
| 96 | const ( |
| 97 | QRCodeGenerationErrorMessage = "Error generating QR Code" |
no outgoing calls
no test coverage detected