TwoFactorAuthenticationRequirement
public class TwoFactorAuthenticationRequirement : BoxModel
Defines the Two Factor Authentication Requirement for Acceptance Requirements object.
-
Declaration
Swift
public private(set) var rawData: [String : Any] { get }
-
Indicator for whether the enterpise has two factor authentication enabled.
Declaration
Swift
public let enterpriseHasTwoFactorAuthEnabled: Bool
-
Indicator for whether the user has two factor authentication enabled.
Declaration
Swift
public let userHasTwoFactorAuthenticationEnabled: Bool
-
Initializer.
Throws
Decoding error.Declaration
Swift
public required init(json: [String : Any]) throws
Parameters
json
JSON dictionary.