Credential class Null safety

Constructors

Credential({required String credentialId, required bool isResidentCredential, String? rpId, required String privateKey, String? userHandle, required int signCount, String? largeBlob})
Credential.fromJson(Map<String, dynamic> json)
factory

Properties

credentialId String
final
hashCode int
The hash code for this object.
read-onlyinherited
isResidentCredential bool
final
largeBlob String?
The large blob associated with the credential. See https://w3c.github.io/webauthn/#sctn-large-blob-extension
final
privateKey String
The ECDSA P-256 private key in PKCS#8 format.
final
rpId String?
Relying Party ID the credential is scoped to. Must be set when adding a credential.
final
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
signCount int
Signature counter. This is incremented by one for each successful assertion. See https://w3c.github.io/webauthn/#signature-counter
final
userHandle String?
An opaque byte sequence with a maximum size of 64 bytes mapping the credential to a specific user.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited