DBTEAMLOGTfaChangeStatusDetails
Objective-C
@interface DBTEAMLOGTfaChangeStatusDetails
: NSObject <DBSerializable, NSCopying>
Swift
class DBTEAMLOGTfaChangeStatusDetails : NSObject, DBSerializable, NSCopying
The TfaChangeStatusDetails
struct.
Enabled/disabled/changed two-step verification setting.
This class implements the DBSerializable
protocol (serialize and
deserialize instance methods), which is required for all Obj-C SDK API route
objects.
-
The new two factor authentication configuration.
Declaration
Objective-C
@property (nonatomic, readonly) DBTEAMLOGTfaConfiguration *_Nonnull dNewValue;
Swift
var dNewValue: DBTEAMLOGTfaConfiguration { get }
-
The previous two factor authentication configuration. Might be missing due to historical data gap.
Declaration
Objective-C
@property (nonatomic, readonly, nullable) DBTEAMLOGTfaConfiguration *previousValue;
Swift
var previousValue: DBTEAMLOGTfaConfiguration? { get }
-
Used two factor authentication rescue code. This flag is relevant when the two factor authentication configuration is disabled.
Declaration
Objective-C
@property (nonatomic, readonly, nullable) NSNumber *usedRescueCode;
Swift
var usedRescueCode: NSNumber? { get }
-
Full constructor for the struct (exposes all instance variables).
Declaration
Objective-C
- (nonnull instancetype) initWithDNewValue:(nonnull DBTEAMLOGTfaConfiguration *)dNewValue previousValue:(nullable DBTEAMLOGTfaConfiguration *)previousValue usedRescueCode:(nullable NSNumber *)usedRescueCode;
Swift
init(dNewValue: DBTEAMLOGTfaConfiguration, previousValue: DBTEAMLOGTfaConfiguration?, usedRescueCode: NSNumber?)
Parameters
dNewValue
The new two factor authentication configuration.
previousValue
The previous two factor authentication configuration. Might be missing due to historical data gap.
usedRescueCode
Used two factor authentication rescue code. This flag is relevant when the two factor authentication configuration is disabled.
Return Value
An initialized instance.
-
Convenience constructor (exposes only non-nullable instance variables with no default value).
Declaration
Objective-C
- (nonnull instancetype)initWithDNewValue: (nonnull DBTEAMLOGTfaConfiguration *)dNewValue;
Swift
init(dNewValue: DBTEAMLOGTfaConfiguration)
Parameters
dNewValue
The new two factor authentication configuration.
Return Value
An initialized instance.