Account

public protocol Account : Encodable, Hashable

The object representing a user account. An Account is created when a FIDO UAF registration is completed successfully.

  • The username associated with the Account.

    Important

    This is a unique identifier.

    Depending on the backend, the username can be a UUID, an email or a login ID. username is used because it matches the nomenclature used in the FIDO UAF specification to refer to a user unique identifier.

    The SDK does not support having identities with the same username defined in different servers. So, the username is unique among the identities in all servers.

    Declaration

    Swift

    var username: Username { get }
  • The object describing the server where the account is defined.

    Important

    An Account can only be defined in one server (that is, the SDK does not support having identities with the same Username defined in different servers).

    Declaration

    Swift

    var server: any Server { get }