One Logo Pool Ball
AuthenticationServices · IOS API REFERENCE

ASImportableEditableField

struct · iOS 26.0+ · SDK 27.1

struct ASImportableEditableField

A representation of EditableField 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 EditableField to initialize an instance of this struct. EditableField represents a field within a Credential that is editable by the user, for example the user name or password.

Members (9)

get · iOS 26.0+

id

TypeScript
get id(): (ArrayBuffer) | null
Swift declaration
var id: Data?

A unique identifier for this EditableField. Not displayed to the user.

set · iOS 26.0+

id

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

A unique identifier for this EditableField. Not displayed to the user.

init · iOS 26.0+

init

TypeScript
static init(id: (ArrayBuffer) | null, fieldType: ASImportableEditableField_FieldType, value: string, label?: (string) | null): ASImportableEditableField
Swift declaration
init(id: Data?, fieldType: ASImportableEditableField.FieldType, value: String, label: String? = nil)
get · iOS 26.0+

label

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

Optional: A user facing value describing the field. May be user-defined.

set · iOS 26.0+

label

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

Optional: A user facing value describing the field. May be user-defined.

get · iOS 26.0+

value

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

The value stored in this EditableField.

set · iOS 26.0+

value

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

The value stored in this EditableField.

get · iOS 26.0+

fieldType

TypeScript
get fieldType(): ASImportableEditableField_FieldType
Swift declaration
var fieldType: ASImportableEditableField.FieldType

The type of this EditableField. This determines how to interpret the `value` property.

set · iOS 26.0+

fieldType

TypeScript
set fieldType(value: ASImportableEditableField_FieldType)
Swift declaration
var fieldType: ASImportableEditableField.FieldType

The type of this EditableField. This determines how to interpret the `value` property.

Skipped declarations

No declarations were skipped in this snapshot.

All AuthenticationServices types →