Passkey Storage
open class PasskeyStorage(var apiKey: String, mpc: PortalMobileMpc, encryption: PortalEncryption, requests: PortalRequests = PortalRequests(), webAuthnHost: String = "https://backup.web.portalhq.io", preferImmediatelyAvailableCredentials: Boolean = false) : CloudStorageAdapter
Handles Passkey-based cloud storage operations including encryption, decryption, and authentication.
Constructors
Link copied to clipboard
constructor(apiKey: String, mpc: PortalMobileMpc, encryption: PortalEncryption, requests: PortalRequests = PortalRequests(), webAuthnHost: String = "https://backup.web.portalhq.io", preferImmediatelyAvailableCredentials: Boolean = false)
Properties
Functions
Link copied to clipboard
Checks if the device supports Passkeys.
Link copied to clipboard
fun configurePasskey(relyingPartyId: String, relyingPartyOrigins: List<String>, webAuthnHost: String)
Configures Passkey authentication settings.
Link copied to clipboard
Encrypts a given value.
Link copied to clipboard
Validates if Passkey-based operations can be performed.
Link copied to clipboard
Writes an encryption key to Passkey storage.