authenticateWithWebauthn abstract method

  1. @POST.new('/auth/webauthn/authenticate')
Future<AuthTokenWithUserIdResponse> authenticateWithWebauthn({
  1. @Body.new() required WebAuthnAuthenticateRequest body,
})

Authenticate with WebAuthn.

Complete passwordless login using WebAuthn (biometrics or security key). Returns authentication token on success.

body - Name not received - field will be skipped.

Implementation

@POST('/auth/webauthn/authenticate')
Future<AuthTokenWithUserIdResponse> authenticateWithWebauthn({
  @Body() required WebAuthnAuthenticateRequest body,
});