extensions
TypeScriptget extensions(): Array<ASImportableExtension>Swift declarationvar extensions: [ASImportableExtension]The extensions associated with this item.
struct · iOS 26.0+ · SDK 27.1
struct ASImportableItemA 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.
get extensions(): Array<ASImportableExtension>Swift declarationvar extensions: [ASImportableExtension]The extensions associated with this item.
set extensions(value: Array<ASImportableExtension>)Swift declarationvar extensions: [ASImportableExtension]The extensions associated with this item.
get credentials(): Array<ASImportableCredential>Swift declarationvar credentials: [ASImportableCredential]The credentials associated with this item.
set credentials(value: Array<ASImportableCredential>)Swift declarationvar credentials: [ASImportableCredential]The credentials associated with this item.
get lastModified(): (globalThis.Date) | nullSwift declarationvar lastModified: Date?The date and time when the Item was last modified.
set lastModified(value: (globalThis.Date) | null)Swift declarationvar lastModified: Date?The date and time when the Item was last modified.
get id(): ArrayBufferSwift declarationvar id: DataA unique identifier for the Item.
set id(value: ArrayBuffer)Swift declarationvar id: DataA unique identifier for the Item.
static initIdTitleSubtitleFavoriteScopeCredentialsTags(id: ArrayBuffer, title: string, subtitle: (string) | null, favorite: boolean, scope: (ASImportableCredentialScope) | null, credentials: Array<ASImportableCredential>, tags?: Array<string>): ASImportableItemSwift declarationinit(id: Data, title: String, subtitle: String? = nil, favorite: Bool = false, scope: ASImportableCredentialScope? = nil, credentials: [ASImportableCredential], tags: [String] = [])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>): ASImportableItemSwift declarationinit(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] = [])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>): ASImportableItemSwift declarationinit(id: Data, created: Date, lastModified: Date, title: String, subtitle: String? = nil, favorite: Bool = false, scope: ASImportableCredentialScope? = nil, credentials: [ASImportableCredential], tags: [String] = [])get tags(): Array<string>Swift declarationvar tags: [String]Optional: The user-defined tags associated with this Item.
set tags(value: Array<string>)Swift declarationvar tags: [String]Optional: The user-defined tags associated with this Item.
get scope(): (ASImportableCredentialScope) | nullSwift declarationvar scope: ASImportableCredentialScope?The scope for where the credential can be used.
set scope(value: (ASImportableCredentialScope) | null)Swift declarationvar scope: ASImportableCredentialScope?The scope for where the credential can be used.
get title(): stringSwift declarationvar title: StringThe user-defined name or title of this Item.
set title(value: string)Swift declarationvar title: StringThe user-defined name or title of this Item.
get created(): (globalThis.Date) | nullSwift declarationvar created: Date?The date and time when the Item was created.
set created(value: (globalThis.Date) | null)Swift declarationvar created: Date?The date and time when the Item was created.
get favorite(): booleanSwift declarationvar favorite: BoolIndicate whether this is a "favorite" item.
set favorite(value: boolean)Swift declarationvar favorite: BoolIndicate whether this is a "favorite" item.
get subtitle(): (string) | nullSwift declarationvar subtitle: String?Optional: A subtitle or description of this item.
set subtitle(value: (string) | null)Swift declarationvar subtitle: String?Optional: A subtitle or description of this item.
No declarations were skipped in this snapshot.