Contents

ASImportableAccount

An account for use in importing and exporting credentials.

Declaration

struct ASImportableAccount

Overview

This type is a representation of Account as defined in the Credential Exchange Format (CXF) specification. You can supply a JSON representation of a CXF Account to initialize an instance of this struct by using a JSONDecoder and calling decode(_:from:). When using a JSONDecoder, set the dateDecodingStrategy property of the decoder to JSONDecoder.DateDecodingStrategy.secondsSince1970.

The account represents the user of the password manager app itself. You can export multiple accounts together by including them in an ASExportedCredentialData instance.

Topics

Creating an account

Accessing account properties

See Also

Accessing accounts