ClientPin class

Constructors

ClientPin(Ctap2 _ctap, {PinProtocol? pinProtocol})

Properties

hashCode int
The hash code for this object.
no setterinherited
pinProtocolVersion → dynamic
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

changePin(String oldPin, String newPin) → dynamic
Change the PIN of the authenticator. This only works when a PIN is already set. If no PIN is set, use setPin.
getPinRetries() Future<int>
Get the number of PIN retries remaining.
getPinToken(String pin, {List<ClientPinPermission>? permissions, String? permissionsRpId}) Future<List<int>>
Get a PIN/UV token from the authenticator.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setPin(String pin) → dynamic
Set the pin of the authenticator.
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

isPinUvAuthTokenSupported(AuthenticatorInfo info) bool
Returns true if the authenticator info supports the pinUvAuthToken option.
isSupported(AuthenticatorInfo info) bool
Returns true if the authenticator info supports the ClientPin command.