PasskeysIOS class
The iOS implementation of PasskeysPlatform
.
- Inheritance
-
- Object
- PlatformInterface
- PasskeysPlatform
- PasskeysIOS
Constructors
- PasskeysIOS({@visibleForTesting PasskeysApi? api})
- Creates a new plugin implementation instance.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
authenticate(
AuthenticateRequestType request) → Future< AuthenticateResponseType> -
Handles the platform-specific steps for the authentication flow
(see https://webauthn.guide/#authentication)
Namely it creates a signature for the challenge issued by the relying party
override
-
canAuthenticate(
) → Future< bool> -
Returns true if passkeys are supported by the device
We have deprecated this function (it will now always return true).
override
-
cancelCurrentAuthenticatorOperation(
) → Future< void> -
Cancels the ongoing authenticator operation (if there is one).
This is important for the case when conditional UI has been started but
the user decides ignore that and login by typing his username instead.
override
-
getAvailability(
) → Future< AvailabilityType> -
Returns information about the availabilty of passkeys.
Currently, this is only valuable for flutter web.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
register(
RegisterRequestType request) → Future< RegisterResponseType> -
Handles the platform-specific steps for the registration flow
(see https://webauthn.guide/#registration)
Namely it creates a public/private key pair (only the public key will be returned)
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
registerWith(
) → void - Registers this class as the default instance of PasskeysIOS.