PasskeyStorage

constructor(credentials: PortalCredentials, mpc: PortalMobileMpc, encryption: PortalEncryption, requests: PortalRequests = PortalRequests(), webAuthnHost: String = "https://backup.web.portalhq.io", preferImmediatelyAvailableCredentials: Boolean = false, passkeyAuth: PasskeyAuth = PasskeyAuth(preferImmediatelyAvailableCredentials))


constructor(apiKey: String, mpc: PortalMobileMpc, encryption: PortalEncryption, requests: PortalRequests = PortalRequests(), webAuthnHost: String = "https://backup.web.portalhq.io", preferImmediatelyAvailableCredentials: Boolean = false, passkeyAuth: PasskeyAuth = PasskeyAuth(preferImmediatelyAvailableCredentials))

Deprecated

Provide a PortalCredentials instead of a raw key.

Constructs the storage adapter with a raw Client API Key.