PublicKeyCredentialUserEntity class
WebAuthn user account parameters for credential creation (spec §5.4.3). Includes an opaque user handle and human-readable names.
- Annotations
-
- @JsonSerializable.new(createFactory: false)
Constructors
-
PublicKeyCredentialUserEntity({required List<
int> id, String? name, String? displayName}) - PublicKeyCredentialUserEntity.fromCbor(Map cbor)
-
Parses from a CBOR map as used in CTAP requests.
factory
Properties
- displayName → String?
-
Human-palatable display name. May be empty.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
id
→ List<
int> -
Opaque user handle (max 64 bytes). Used for auth decisions.
final
- name → String?
-
Machine-readable account name (not for auth decisions).
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toCbor(
) → CborValue - Serializes this user entity to a CBOR map for CTAP.
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited