TrustedDevice
A biometric-gated trusted-device credential associated with a user.
Trusted devices allow users to sign in with device biometrics instead of their regular first factor. The private key used to sign server challenges never leaves the device.
Constructors
Link copied to clipboard
constructor(id: String, platform: TrustedDevice.Platform = Platform.UNKNOWN, appIdentifier: String, name: String? = null, algorithm: String = ES256_ALGORITHM, status: TrustedDevice.Status = Status.UNKNOWN, createdAt: Long, updatedAt: Long, lastUsedAt: Long? = null, revokedAt: Long? = null)
Types
Properties
Link copied to clipboard
The native app identifier this credential is bound to.
Link copied to clipboard
The time when the credential was last used, in milliseconds since epoch.
Link copied to clipboard
The platform this credential belongs to.
Link copied to clipboard
The platform value exactly as returned by the Clerk API.
Link copied to clipboard
The credential status.
Link copied to clipboard
The status value exactly as returned by the Clerk API.
Functions
Link copied to clipboard
fun copy(id: String = this.id, platform: TrustedDevice.Platform = this.platform, appIdentifier: String = this.appIdentifier, name: String? = this.name, algorithm: String = this.algorithm, status: TrustedDevice.Status = this.status, createdAt: Long = this.createdAt, updatedAt: Long = this.updatedAt, lastUsedAt: Long? = this.lastUsedAt, revokedAt: Long? = this.revokedAt): TrustedDevice