Authentication
The authentication domain represents errors related to the authentication.
- iOS (Swift)
- Android (Java)
public enum AuthenticationDomainCode {
case wrongCredential // will also be returned in case the biometric authentication changes (ex: add new fingerprint/face)
case cooldown(until: Date)
case biometricTokenExpired
case setup_newPinMatchesOld
case PINDoesNotMatchRequirements
case biometricAuthenticationNotEnabled
}
public enum AuthenticationDomainCode {
WRONG_CREDENTIAL,
COOLDOWN, // in seconds
BIOMETRIC_TOKEN_EXPIRED,
NEW_PIN_CANNOT_MATCH_THE_OLD,
PIN_DOES_NOT_MATCH_REQUIREMENTS,
BIOMETRIC_AUTHENTICATION_NOT_ENABLED
}