Passkey class Null safety

A Universal Passkey is a public and private key pair. The private key is generated, stored, and never leaves the user’s devices’ hardware root of trust (i.e. Secure Enclave). The public key is sent to the Beyond Identity cloud. The private key cannot be tampered with, viewed, or removed from the device in which it is created unless the user explicitly indicates that the trusted device be removed. Passkeys are cryptographically linked to devices and an Identity. A single device can store multiple passkeys for different users and a single Identity can have multiple passkeys.

Constructors

Passkey({required String id, required String localCreated, required String localUpdated, required String apiBaseUrl, required String keyHandle, required PasskeyState state, required String created, required String updated, required PasskeyTenant tenant, required PasskeyRealm realm, required PasskeyIdentity identity, required PasskeyTheme theme})

Properties

apiBaseUrl String
The base url for all binding & auth requests
read / write
created String
The time this passkey was created.
read / write
hashCode int
The hash code for this object.
read-onlyinherited
id String
The Globally unique ID of this passkey.
read / write
identity PasskeyIdentity
Identity information associated with this passkey.
read / write
keyHandle String
Associated key handle.
read / write
localCreated String
The time when this passkey was created locally. This could be different from "created" which is the time when this passkey was created on the server.
read / write
localUpdated String
The last time when this passkey was updated locally. This could be different from "updated" which is the last time when this passkey was updated on the server.
read / write
realm PasskeyRealm
Realm information associated with this passkey.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
state PasskeyState
The current state of this passkey
read / write
tenant PasskeyTenant
Tenant information associated with this passkey.
read / write
theme PasskeyTheme
Theme information associated with this passkey
read / write
updated String
The last time this passkey was updated.
read / write

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toJson() String
toString() String
A string representation of this object.
override

Operators

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

Static Methods

mapToPasskey(dynamic passkey) Passkey