PubKeyCredParamType class
The PubKeyCredParamType class wraps the data of a public key credential parameter. It is used to specify the type and algorithm of the public key credential that is being requested.
- Annotations
-
- @JsonSerializable()
Constructors
- PubKeyCredParamType.new({required String type, required int alg})
- Constructs a new instance.
-
PubKeyCredParamType.fromJson(Map<
String, dynamic> json) -
Constructs a new instance from a JSON map.
factory
Properties
- alg → int
-
The algorithm used for the public key credential, i.e.
-7
forES256
or-257
for RS256. See IANA COSE for a list of all options.final - hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type → String
-
The type of the public key credential.
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.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited