userHandle
TypeScriptget userHandle(): ArrayBufferSwift declarationvar userHandle: DataThe user handle associated with this passkey.
struct · iOS 26.0+ · SDK 27.1
struct PasskeyA representation of Passkey as defined in the [Credential Exchange Format (CXF) specs](https://fidoalliance.org/specs/cx/cxf-v1.0-rd-20250313.html) This represents a passkey credential.
get userHandle(): ArrayBufferSwift declarationvar userHandle: DataThe user handle associated with this passkey.
set userHandle(value: ArrayBuffer)Swift declarationvar userHandle: DataThe user handle associated with this passkey.
get credentialID(): ArrayBufferSwift declarationvar credentialID: DataThe credential ID associated with this passkey.
set credentialID(value: ArrayBuffer)Swift declarationvar credentialID: DataThe credential ID associated with this passkey.
static initCredentialIDRelyingPartyIdentifierUserNameUserDisplayNameUserHandleKeyFido2Extensions(credentialID: ArrayBuffer, relyingPartyIdentifier: string, userName: string, userDisplayName: string, userHandle: ArrayBuffer, key: ArrayBuffer, fido2Extensions?: (ASImportableFIDO2Extensions) | null): ASImportableCredential_PasskeySwift declarationinit(credentialID: Data, relyingPartyIdentifier: String, userName: String, userDisplayName: String, userHandle: Data, key: Data, fido2Extensions: ASImportableFIDO2Extensions?)static initCredentialIDRelyingPartyIdentifierUserNameUserDisplayNameUserHandleKey(credentialID: ArrayBuffer, relyingPartyIdentifier: string, userName: string, userDisplayName: string, userHandle: ArrayBuffer, key: ArrayBuffer): ASImportableCredential_PasskeySwift declarationinit(credentialID: Data, relyingPartyIdentifier: String, userName: String, userDisplayName: String, userHandle: Data, key: Data)get fido2Extensions(): (ASImportableFIDO2Extensions) | nullSwift declarationvar fido2Extensions: ASImportableFIDO2Extensions?The FIDO2 extensions associated with this passkey.
set fido2Extensions(value: (ASImportableFIDO2Extensions) | null)Swift declarationvar fido2Extensions: ASImportableFIDO2Extensions?The FIDO2 extensions associated with this passkey.
get userDisplayName(): stringSwift declarationvar userDisplayName: StringThe human readable name associated with this passkey.
set userDisplayName(value: string)Swift declarationvar userDisplayName: StringThe human readable name associated with this passkey.
get relyingPartyIdentifier(): stringSwift declarationvar relyingPartyIdentifier: StringThe relying party identifier associated with this passkey.
set relyingPartyIdentifier(value: string)Swift declarationvar relyingPartyIdentifier: StringThe relying party identifier associated with this passkey.
get key(): ArrayBufferSwift declarationvar key: DataThe private key associated with this passkey. Must be a PKCS#8 formatted byte string and Base64URL encoded when encoding to JSON.
set key(value: ArrayBuffer)Swift declarationvar key: DataThe private key associated with this passkey. Must be a PKCS#8 formatted byte string and Base64URL encoded when encoding to JSON.
get userName(): stringSwift declarationvar userName: StringThe user name associated with this passkey. When instantiating from JSON, this property will be populated from the "username" field.
set userName(value: string)Swift declarationvar userName: StringThe user name associated with this passkey. When instantiating from JSON, this property will be populated from the "username" field.
No declarations were skipped in this snapshot.