Authentication PIN requirements
Requirements
Requirements to set or update the authentication PIN
- iOS (Swift)
- Android (Java)
let requirements: TFAuthenticationPINRequirements = try trustFactorClient.getAuthenticationPINRequirements()
try{
AuthenticationPINRequirements requirements = trustFactorClient.getAuthenticationPINRequirements()
} catch(Exception e){
/// Handle errors
}
Current PIN
Get the requirements used to set the current PIN.
- iOS (Swift)
- Android (Java)
// returns nil if no PIN was set
let requirements: TFAuthenticationPINRequirements = try trustFactorClient.getCurrentAuthenticationPINRequirements()
// returns null if no PIN was set
try{
AuthenticationPINRequirements requirements = trustFactorClient.getCurrentAuthenticationPINRequirements()
} catch(Exception e){
/// Handle errors
}