Skip to main content

Authentication

The authentication domain represents errors related to the authentication.

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 newPINCannotMatchTheOld
case PINDoesNotMatchRequirements
case biometricAuthenticationNotEnabled
}