AuthWebAuthnClientFixture class final
Browser-shaped WebAuthn values for typed client codec tests.
The credential bytes are placeholders, not cryptographic assertions. Use a platform authenticator integration test for server signature verification.
Constructors
- AuthWebAuthnClientFixture({String userId = 'fixture-user-id', String credentialId = 'Zml4dHVyZS1jcmVkZW50aWFs'})
-
Creates a deterministic passkey client fixture.
const
Properties
- credentialId → String
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- userId → String
-
final
Methods
-
assertion(
) → Map< String, dynamic> - Browser-shaped assertion request passed through the real client codec.
-
authenticationOptions(
) → Map< String, dynamic> - Discoverable authentication options accepted by the typed client parser.
-
authenticationResult(
) → Map< String, dynamic> - Successful authentication payload accepted by the typed client parser.
-
credentialMetadata(
) → Map< String, dynamic> - Safe passkey metadata response.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
registrationOptions(
) → Map< String, dynamic> - Registration options accepted by the real typed client parser.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited