HID APPROVE SDK
5.9
HID Approve SDK for Android
|
Protection policy with authentication with biometrics or password. More...
Public Member Functions | |
void | disableBioAuthentication () throws UnsupportedDeviceException, FingerprintNotEnrolledException, FingerprintAuthenticationRequiredException, InternalException, LostCredentialsException, AuthenticationException, PasswordExpiredException |
void | enableBioAuthentication (char[] password) throws UnsupportedDeviceException,FingerprintNotEnrolledException,FingerprintAuthenticationRequiredException, InternalException, LostCredentialsException, AuthenticationException, PasswordExpiredException |
Object | getAuthenticationCallback () throws InternalException |
int | getAuthorizedAuthenticator () |
BioAuthenticationState | getBioAuthenticationState () throws InternalException |
void | resetBiometricPrompt () |
void | setBiometricPrompt (FragmentActivity fragmentActivity, AuthenticationCallback authCallback, PromptInfo promptInfo) |
void | setBiometricPrompt (Fragment fragment, AuthenticationCallback authCallback, PromptInfo promptInfo) |
![]() | |
boolean | changePassword (char[] oldpwdvalue, char[] newpwdvalue) throws AuthenticationException, PasswordNotYetUpdatableException, InvalidPasswordException, LostCredentialsException, InternalException, FingerprintAuthenticationRequiredException, UnsupportedDeviceException, FingerprintNotEnrolledException, PasswordRequiredException, InvalidParameterException |
int | getCacheTimeout () |
long | getCurrentAge () |
int | getMaxAge () |
int | getMaxAlpha () |
int | getMaxHistory () |
int | getMaxLength () |
int | getMaxLowerCase () |
int | getMaxNonAlpha () |
int | getMaxNumeric () |
int | getMaxUpperCase () |
int | getMinAge () |
int | getMinAlpha () |
int | getMinLength () |
int | getMinLowerCase () |
int | getMinNonAlpha () |
int | getMinNumeric () |
int | getMinUpperCase () |
boolean | isCacheEnabled () |
boolean | isSequenceAllowed () |
void | verifyPassword (char[] password) throws InternalException, UnsupportedDeviceException, LostCredentialsException, AuthenticationException, PasswordExpiredException, FingerprintAuthenticationRequiredException, FingerprintNotEnrolledException, PasswordRequiredException, InvalidParameterException |
![]() | |
ProtectionPolicyId | getId () |
LockPolicy | getLockPolicy () |
String | getType () |
Protection policy with authentication with biometrics or password.
Protection policy with authentication with biometrics or password.
void com.hidglobal.ia.service.protectionpolicy.BioPasswordPolicy.disableBioAuthentication | ( | ) | throws UnsupportedDeviceException, FingerprintNotEnrolledException, FingerprintAuthenticationRequiredException, InternalException, LostCredentialsException, AuthenticationException, PasswordExpiredException |
Deletes the internally stored password used for external biometric authentication. Note: Convenience method which is equivalent to calling enableBioAuthentication(null)
UnsupportedDeviceException | if device is not supported by policy. |
FingerprintNotEnrolledException | if fingerprint enrollment is required. |
FingerprintAuthenticationRequiredException | if fingerprint authentication is required by policy. |
InternalException | if an unexpected error occurred. |
LostCredentialsException | if provisioning key data has been corrupted or lost. |
AuthenticationException | if password is incorrect. |
PasswordExpiredException | if expired password is given (changePassword required). |
void com.hidglobal.ia.service.protectionpolicy.BioPasswordPolicy.enableBioAuthentication | ( | char [] | password | ) | throws UnsupportedDeviceException,FingerprintNotEnrolledException,FingerprintAuthenticationRequiredException, InternalException, LostCredentialsException, AuthenticationException, PasswordExpiredException |
Enables authentication with biometrics.
password | the password of this policy. |
UnsupportedDeviceException | if device is not supported by policy. |
FingerprintNotEnrolledException | if fingerprint enrollment is required. |
FingerprintAuthenticationRequiredException | if fingerprint authentication is required by policy. |
InternalException | if an unexpected error occurred. |
LostCredentialsException | if provisioning key data has been corrupted or lost. |
AuthenticationException | if password is incorrect. |
PasswordExpiredException | if expired password is given (changePassword required). |
Object com.hidglobal.ia.service.protectionpolicy.BioPasswordPolicy.getAuthenticationCallback | ( | ) | throws InternalException |
Android specific. Returns the AuthenticationCallback.
InternalException | if an unexpected error occurred. |
int com.hidglobal.ia.service.protectionpolicy.BioPasswordPolicy.getAuthorizedAuthenticator | ( | ) |
Return the minimum authorized biometric authenticator class according to provisioning rule :
BioAuthenticationState com.hidglobal.ia.service.protectionpolicy.BioPasswordPolicy.getBioAuthenticationState | ( | ) | throws InternalException |
Returns the current working state of authentication with biometrics.
InternalException | if an unexpected error occurred. |
void com.hidglobal.ia.service.protectionpolicy.BioPasswordPolicy.resetBiometricPrompt | ( | ) |
Removes the stored BiometricPrompt and BiometricInfo objects.
void com.hidglobal.ia.service.protectionpolicy.BioPasswordPolicy.setBiometricPrompt | ( | FragmentActivity | fragmentActivity, |
AuthenticationCallback | authCallback, | ||
PromptInfo | promptInfo | ||
) |
Android specific. Passes the AndroidX Biometrics objects to the SDK to enable biometrics support.
fragmentActivity | Application fragmentActivity instance |
authCallback | Instance of BiometricPrompt.AuthenticationCallback |
promptInfo | Instance of dialog structure BiometricPrompt.PromptInfo |
void com.hidglobal.ia.service.protectionpolicy.BioPasswordPolicy.setBiometricPrompt | ( | Fragment | fragment, |
AuthenticationCallback | authCallback, | ||
PromptInfo | promptInfo | ||
) |
Android specific. Passes the AndroidX Biometrics objects to the SDK to enable biometrics support.
fragment | Application fragment instance |
authCallback | Instance of BiometricPrompt.AuthenticationCallback |
promptInfo | Instance of dialog structure BiometricPrompt.PromptInfo |