Mechanism

public class Mechanism : NSObject, NSSecureCoding, Codable

Mechanism class represents generic auth type, and is base class of all Mechanism (authentication type) in FRAuthenticator SDK

Properties

  • uniquely identifiable UUID for current mechanism

    Declaration

    Swift

    public internal(set) var mechanismUUID: String { get }
  • type of auth

    Declaration

    Swift

    public internal(set) var type: String { get }
  • issuer of auth

    Declaration

    Swift

    public internal(set) var issuer: String { get }
  • accountName or username of auth

    Declaration

    Swift

    public internal(set) var accountName: String { get }
  • Time added for push

    Declaration

    Swift

    public internal(set) var timeAdded: Date { get }
  • Unique identifier for current auth associated with Account information

    Declaration

    Swift

    public var identifier: String { get }
  • Gets the storage Account identifier associated with this Mechanism

    Declaration

    Swift

    public var accountIdentifier: String { get }

NSCoder

  • Declaration

    Swift

    public class var supportsSecureCoding: Bool { get }
  • Declaration

    Swift

    public func encode(with coder: NSCoder)
  • Declaration

    Swift

    public required convenience init?(coder: NSCoder)

Codable

  • Declaration

    Swift

    public func encode(to encoder: Encoder) throws
  • Declaration

    Swift

    public required init(from decoder: Decoder) throws