One Logo Pool Ball
AuthenticationServices · IOS API REFERENCE

ASImportableItem

struct · iOS 26.0+ · SDK 27.1

struct ASImportableItem

A representation of Item 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 Item to initialize an instance of this struct. Item represents an account for a service that is stored by the password manager. It can store multiple Credentials. For example, an account with a password and a passkey would be represented by an Item with two Credentials.

Members (23)

get · iOS 26.4+

extensions

TypeScript
get extensions(): Array<ASImportableExtension>
Swift declaration
var extensions: [ASImportableExtension]

The extensions associated with this item.

set · iOS 26.4+

extensions

TypeScript
set extensions(value: Array<ASImportableExtension>)
Swift declaration
var extensions: [ASImportableExtension]

The extensions associated with this item.

get · iOS 26.0+

credentials

TypeScript
get credentials(): Array<ASImportableCredential>
Swift declaration
var credentials: [ASImportableCredential]

The credentials associated with this item.

set · iOS 26.0+

credentials

TypeScript
set credentials(value: Array<ASImportableCredential>)
Swift declaration
var credentials: [ASImportableCredential]

The credentials associated with this item.

get · iOS 26.0+

lastModified

TypeScript
get lastModified(): (globalThis.Date) | null
Swift declaration
var lastModified: Date?

The date and time when the Item was last modified.

set · iOS 26.0+

lastModified

TypeScript
set lastModified(value: (globalThis.Date) | null)
Swift declaration
var lastModified: Date?

The date and time when the Item was last modified.

get · iOS 26.0+

id

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

A unique identifier for the Item.

set · iOS 26.0+

id

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

A unique identifier for the Item.

init · iOS 26.1+

init

TypeScript
static initIdTitleSubtitleFavoriteScopeCredentialsTags(id: ArrayBuffer, title: string, subtitle: (string) | null, favorite: boolean, scope: (ASImportableCredentialScope) | null, credentials: Array<ASImportableCredential>, tags?: Array<string>): ASImportableItem
Swift declaration
init(id: Data, title: String, subtitle: String? = nil, favorite: Bool = false, scope: ASImportableCredentialScope? = nil, credentials: [ASImportableCredential], tags: [String] = [])
init · iOS 26.4+

init

TypeScript
static initIdCreatedLastModifiedTitleSubtitleFavoriteScopeCredentialsTagsExtensions(id: ArrayBuffer, created: (globalThis.Date) | null, lastModified: (globalThis.Date) | null, title: string, subtitle: (string) | null, favorite: boolean, scope: (ASImportableCredentialScope) | null, credentials: Array<ASImportableCredential>, tags?: Array<string>, extensions?: Array<ASImportableExtension>): ASImportableItem
Swift declaration
init(id: Data, created: Date? = nil, lastModified: Date? = nil, title: String, subtitle: String? = nil, favorite: Bool = false, scope: ASImportableCredentialScope? = nil, credentials: [ASImportableCredential], tags: [String] = [], extensions: [ASImportableExtension] = [])
init · iOS 26.0+

init

TypeScript
static initIdCreatedLastModifiedTitleSubtitleFavoriteScopeCredentialsTags(id: ArrayBuffer, created: globalThis.Date, lastModified: globalThis.Date, title: string, subtitle: (string) | null, favorite: boolean, scope: (ASImportableCredentialScope) | null, credentials: Array<ASImportableCredential>, tags?: Array<string>): ASImportableItem
Swift declaration
init(id: Data, created: Date, lastModified: Date, title: String, subtitle: String? = nil, favorite: Bool = false, scope: ASImportableCredentialScope? = nil, credentials: [ASImportableCredential], tags: [String] = [])
get · iOS 26.0+

tags

TypeScript
get tags(): Array<string>
Swift declaration
var tags: [String]

Optional: The user-defined tags associated with this Item.

set · iOS 26.0+

tags

TypeScript
set tags(value: Array<string>)
Swift declaration
var tags: [String]

Optional: The user-defined tags associated with this Item.

get · iOS 26.0+

scope

TypeScript
get scope(): (ASImportableCredentialScope) | null
Swift declaration
var scope: ASImportableCredentialScope?

The scope for where the credential can be used.

set · iOS 26.0+

scope

TypeScript
set scope(value: (ASImportableCredentialScope) | null)
Swift declaration
var scope: ASImportableCredentialScope?

The scope for where the credential can be used.

get · iOS 26.0+

title

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

The user-defined name or title of this Item.

set · iOS 26.0+

title

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

The user-defined name or title of this Item.

get · iOS 26.0+

created

TypeScript
get created(): (globalThis.Date) | null
Swift declaration
var created: Date?

The date and time when the Item was created.

set · iOS 26.0+

created

TypeScript
set created(value: (globalThis.Date) | null)
Swift declaration
var created: Date?

The date and time when the Item was created.

get · iOS 26.0+

favorite

TypeScript
get favorite(): boolean
Swift declaration
var favorite: Bool

Indicate whether this is a "favorite" item.

set · iOS 26.0+

favorite

TypeScript
set favorite(value: boolean)
Swift declaration
var favorite: Bool

Indicate whether this is a "favorite" item.

get · iOS 26.0+

subtitle

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

Optional: A subtitle or description of this item.

set · iOS 26.0+

subtitle

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

Optional: A subtitle or description of this item.

Skipped declarations

No declarations were skipped in this snapshot.

All AuthenticationServices types →