One Logo Pool Ball
AuthenticationServices · IOS API REFERENCE

ASImportableAccount

struct · iOS 26.0+ · SDK 27.1

struct ASImportableAccount

A representation of Account as defined in the [Credential Exchange Format (CXF) specs](https://fidoalliance.org/specs/cx/cxf-v1.0-rd-20250313.html) You can supply a JSON representation of a CXF Account to initialize an instance of this struct. If you choose to do so, you will need to set the icon after creating the object. Account represents the user of the password manager app itself. Multiple accounts can be exported together.

Members (13)

get · iOS 26.0+

collections

TypeScript
get collections(): Array<ASImportableCollection>
Swift declaration
var collections: [ASImportableCollection]

The collections stored in this account.

set · iOS 26.0+

collections

TypeScript
set collections(value: Array<ASImportableCollection>)
Swift declaration
var collections: [ASImportableCollection]

The collections stored in this account.

get · iOS 26.0+

id

TypeScript
get id(): ArrayBuffer
Swift declaration
var id: Data

A unique identifier for the account. Not displayed to the user.

set · iOS 26.0+

id

TypeScript
set id(value: ArrayBuffer)
Swift declaration
var id: Data

A unique identifier for the account. Not displayed to the user.

init · iOS 26.0+

init

TypeScript
static init(id: ArrayBuffer, userName: string, email: string, fullName: (string) | null, collections: Array<ASImportableCollection>, items: Array<ASImportableItem>): ASImportableAccount
Swift declaration
init(id: Data, userName: String, email: String, fullName: String? = nil, collections: [ASImportableCollection], items: [ASImportableItem])
get · iOS 26.0+

email

TypeScript
get email(): string
Swift declaration
var email: String

The email address associated with this account.

set · iOS 26.0+

email

TypeScript
set email(value: string)
Swift declaration
var email: String

The email address associated with this account.

get · iOS 26.0+

items

TypeScript
get items(): Array<ASImportableItem>
Swift declaration
var items: [ASImportableItem]

All items stored in this account.

set · iOS 26.0+

items

TypeScript
set items(value: Array<ASImportableItem>)
Swift declaration
var items: [ASImportableItem]

All items stored in this account.

get · iOS 26.0+

fullName

TypeScript
get fullName(): (string) | null
Swift declaration
var fullName: String?

Optional: The full name of the account owner.

set · iOS 26.0+

fullName

TypeScript
set fullName(value: (string) | null)
Swift declaration
var fullName: String?

Optional: The full name of the account owner.

get · iOS 26.0+

userName

TypeScript
get userName(): string
Swift declaration
var userName: String

The user name associated with this account. When instantiating from JSON, this property will be populated from the "username" field.

set · iOS 26.0+

userName

TypeScript
set userName(value: string)
Swift declaration
var userName: String

The user name associated with this account. When instantiating from JSON, this property will be populated from the "username" field.

Skipped declarations

No declarations were skipped in this snapshot.

All AuthenticationServices types →