TGFPasscodeConfig
Objective-C
@interface TGFPasscodeConfig : NSObject
Swift
class TGFPasscodeConfig : NSObject
A utility class for globally configuring the behavior of the Passcode Authenticator.
@discussion By default, the FIDO2 SDK uses reasonable and secure settings. This class allows an application to customize certain behaviors, such as passcode complexity rules or keyboard appearance.
@since 1.0.0
-
Unavailable
There is no direct init function available.
Declaration
Objective-C
- (nonnull instancetype)init; -
Disables the scrambling of the keyboard keys.
Declaration
Objective-C
+ (void)disableScrambled;Swift
class func disableScrambled() -
Set the passcode rules for acceptable passcodes.
@since 1.3.0
Declaration
Objective-C
+ (BOOL)setPasscodeRules:(nonnull NSSet<TGFPasscodeRule *> *)rules error:(NSError *_Nullable *_Nullable)error;Swift
class func setPasscodeRules(_ rules: Set<TGFPasscodeRule>) throwsParameters
errorIf an error occurs, an NSError is returned with the resulting error. An optional NULL may be passed instead.
Return Value
A boolean result indicating if the operation completed successfully.