MakeCredentialOptions class

Options to be passed when we are Making a new Credential (attestation)

Annotations
  • @JsonSerializable(explicitToJson: true, anyMap: true)

Constructors

MakeCredentialOptions({required Uint8List clientDataHash, required RpEntity rpEntity, required UserEntity userEntity, required bool requireResidentKey, required bool requireUserPresence, required bool requireUserVerification, required List<CredTypePubKeyAlgoPair> credTypesAndPubKeyAlgs, List<PublicKeyCredentialDescriptor>? excludeCredentialDescriptorList})
MakeCredentialOptions.fromJson(Map<String, dynamic> json)
factory

Properties

clientDataHash Uint8List
getter/setter pair
credTypesAndPubKeyAlgs List<CredTypePubKeyAlgoPair>
getter/setter pair
excludeCredentialDescriptorList List<PublicKeyCredentialDescriptor>?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
requireResidentKey bool
getter/setter pair
requireUserPresence bool
getter/setter pair
requireUserVerification bool
getter/setter pair
rpEntity RpEntity
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
userEntity UserEntity
getter/setter pair

Methods

hasError() String?
Check whether the options are well formed. If options are valid, then null is returned Otherewise a String is returned with the error message
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent 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