---
title: ASImportableEditableField
framework: authenticationservices
role: symbol
role_heading: Structure
path: authenticationservices/asimportableeditablefield
---

# ASImportableEditableField

A field that someone can edit within a credential.

## Declaration

```swift
struct ASImportableEditableField
```

## Overview

Overview Examples of editable fields include ASImportableCredential/BasicAuthentication/username and password in ASImportableCredential.BasicAuthentication. This type is a representation of EditableField as defined in the Credential Exchange Format (CXF) specification. You can supply a JSON representation of a CXF EditableField to initialize an instance of this struct by using a JSONDecoder and calling decode(_:from:).

## Topics

### Creating an editable field

- [init(id:fieldType:value:label:)](authenticationservices/asimportableeditablefield/init(id:fieldtype:value:label:).md)

### Accessing field properties

- [id](authenticationservices/asimportableeditablefield/id.md)
- [fieldType](authenticationservices/asimportableeditablefield/fieldtype-swift.property.md)
- [ASImportableEditableField.FieldType](authenticationservices/asimportableeditablefield/fieldtype-swift.enum.md)
- [value](authenticationservices/asimportableeditablefield/value.md)
- [label](authenticationservices/asimportableeditablefield/label.md)

## Relationships

### Conforms To

- [Decodable](swift/decodable.md)
- [Encodable](swift/encodable.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Accessing authentication properties

- [password](authenticationservices/asimportablecredential/basicauthentication/password.md)
