getWebauthnRegistrationOptions abstract method
- @POST.new('/users/@me/mfa/webauthn/credentials/registration-options')
- @Body.new() required SudoVerificationSchema body,
Get WebAuthn registration options.
Generate challenge and options to register a new WebAuthn credential. Requires sudo mode verification.
body - Name not received - field will be skipped.
Implementation
@POST('/users/@me/mfa/webauthn/credentials/registration-options')
Future<WebAuthnChallengeResponse> getWebauthnRegistrationOptions({
@Body() required SudoVerificationSchema body,
});