Account

public struct Account : Hashable, Comparable, CustomStringConvertible

An Account is created when the user enrolls a user using NevisOperation.openSettings(userInteractionDelegate:completion:) or when a FIDO UAF registration is completed successfully.

  • The username representation of the account.

    Declaration

    Swift

    public let username: Username
  • This variable can be used for the following use-case:

    1. PIN Enrollment is done by using newAccount before initiating a registration.
    2. Registration is initiated for PIN authenticator.
    3. PIN verification can be done with the enrollment made earlier for newAccount.

    Declaration

    Swift

    public static var newAccount: Account { get }
  • Declaration

    Swift

    public static func == (lhs: Account, rhs: Account) -> Bool
  • Declaration

    Swift

    public static func < (lhs: Account, rhs: Account) -> Bool
  • Declaration

    Swift

    public var description: String { get }