BrowserWebAuthnProvider constructor

BrowserWebAuthnProvider({
  1. required String rpId,
  2. required String rpName,
  3. int timeoutMs = WebAuthnProvider.defaultTimeoutMs,
})

Constructs a BrowserWebAuthnProvider stub. The constructor accepts the same parameters as the browser implementation so cross-target code compiles unchanged.

Implementation

BrowserWebAuthnProvider({
  required this.rpId,
  required this.rpName,
  this.timeoutMs = WebAuthnProvider.defaultTimeoutMs,
});