onCredentialAsserted property

Stream<CredentialAssertedEvent> get onCredentialAsserted

Triggered when a credential is used in a webauthn assertion.

Implementation

Stream<CredentialAssertedEvent> get onCredentialAsserted => _client.onEvent
    .where((event) => event.name == 'WebAuthn.credentialAsserted')
    .map((event) => CredentialAssertedEvent.fromJson(event.parameters));