Account
public class Account : NSObject, NSSecureCoding, Codable
Account represents an account information of authentication methods
-
Issuer of the account
Declaration
Swift
public internal(set) var issuer: String { get } -
AccountName, or Username of the account for the issuer
Declaration
Swift
public internal(set) var accountName: String { get } -
URL of Account’s logo image
Declaration
Swift
public internal(set) var imageUrl: String? { get } -
HEX Color code in String for Account
Declaration
Swift
public internal(set) var backgroundColor: String? { get } -
Time added for Account
Declaration
Swift
public internal(set) var timeAdded: Date { get } -
Authenticator Policies in a JSON String format
Declaration
Swift
public internal(set) var policies: String? { get } -
Name of the Policy locking the Account
Declaration
Swift
public internal(set) var lockingPolicy: String? { get } -
Account lock indicator
Declaration
Swift
public internal(set) var lock: Bool { get } -
An array of Mechanism associated with current Account
Declaration
Swift
public internal(set) var mechanisms: [Mechanism] { get } -
Unique identifier of Account
Declaration
Swift
public var identifier: String { get } -
Alternative Issuer of the account. Returns original issuer if displayIssuer is not set.
Declaration
Swift
public var displayIssuer: String? { get set } -
Alternative AccountName of the account. Returns original accountName if displayAccountName is not set.
Declaration
Swift
public var displayAccountName: String? { get set }
-
Declaration
Swift
public class var supportsSecureCoding: Bool { get } -
Declaration
Swift
public func encode(with coder: NSCoder) -
Declaration
Swift
public required convenience init?(coder: NSCoder)
-
Declaration
Swift
public func encode(to encoder: Encoder) throws -
Declaration
Swift
public required convenience init(from decoder: Decoder) throws
-
Lock this Account
Declaration
Swift
public func lock(policy: FRAPolicy)Parameters
policythe non-compliance policy
-
Unlock this Account.
Declaration
Swift
public func unlock() -
Serializes
Accountobject into JSON String.Declaration
Swift
public func toJson() -> String?Return Value
JSON String value of
Accountobject
View on GitHub