RegisterRequestType class

The RegisterRequestType is used to create a registration request and send it to the platform.

Constructors

RegisterRequestType({required String challenge, required RelyingPartyType relyingParty, required UserType user, required List<CredentialType> excludeCredentials, AuthenticatorSelectionType? authSelectionType, List<PubKeyCredParamType>? pubKeyCredParams, int? timeout, String? attestation})
Constructs a new instance.
const
RegisterRequestType.fromJson(Map<String, dynamic> json)
Constructs a new instance from a JSON map.
factory
RegisterRequestType.fromJsonString(String jsonString)
Constructs a new instance from a JSON string.
factory

Properties

attestation String?
The requested attestation level. Controls how the authenticator's attestation information is conveyed to the relying party. Possible values are:
final
authSelectionType AuthenticatorSelectionType?
The authenticator selection type.
final
challenge String
The Base64URL encoded challenge without padding.
final
excludeCredentials List<CredentialType>
A list of credentials to exclude from the registration. This is typically used to prevent the user from registering the same credential multiple times.
final
hashCode int
The hash code for this object.
no setterinherited
pubKeyCredParams List<PubKeyCredParamType>?
A list of public key credential parameters.
final
relyingParty RelyingPartyType
The relying party.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
timeout int?
The timeout in milliseconds.
final
user UserType
The user.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Converts this instance to a JSON map.
toJsonString() String
Converts this instance to a JSON string.
toString() String
A string representation of this object.
inherited

Operators

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