MethodChannelPasskeys class
An implementation of PasskeysPlatform that uses method channels.
- Inheritance
-
- Object
- PlatformInterface
- PasskeysPlatform
- MethodChannelPasskeys
Constructors
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(
String relyingPartyId, String challenge, int? timeout, String? userVerification, List< AllowCredentialType> ? allowCredentials) → 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
override
-
getFacetID(
) → Future< String> -
Returns the FACET ID of the app.
(see https://developer.android.com/reference/androidx/security/crypto/EncryptedSharedPreferences)
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
register(
String challenge, RelyingPartyType relyingParty, UserType user, AuthenticatorSelectionType authenticatorSelection, List< PubKeyCredParamType> ? pubKeyCredParams, int? timeout, String? attestation) → 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