HID APPROVE SDK
5.5
HID APPROVE SDK for Android
|
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 |
void | enableFingerprintManager (Object authenticationCallback, Object cancellationSignal) throws InternalException |
Object | getAuthenticationCallback () throws InternalException |
BioAuthenticationState | getBioAuthenticationState () throws InternalException |
Object | getCancellationSignal () throws InternalException |
void | resetBiometricPrompt () |
void | setBiometricPrompt (Activity activity, 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 |
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 () |
void | verifyPassword (char[] password) throws InternalException, UnsupportedDeviceException, LostCredentialsException, AuthenticationException, PasswordExpiredException, FingerprintAuthenticationRequiredException, FingerprintNotEnrolledException, PasswordRequiredException |
![]() | |
ProtectionPolicyId | getId () |
LockPolicy | getLockPolicy () |
String | getType () |
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). |
void com.hidglobal.ia.service.protectionpolicy.BioPasswordPolicy.enableFingerprintManager | ( | Object | authenticationCallback, |
Object | cancellationSignal | ||
) | throws InternalException |
Deprecated. Android specific. Enables usage of android.hardware.fingerprint.FingerprintManager API.
authenticationCallback | Instance of FingerprintManager.AuthenticationCallback |
cancellationSignal | Instance of android.os.CancellationSignal |
InternalException | if an unexpected error occurred. |
Object com.hidglobal.ia.service.protectionpolicy.BioPasswordPolicy.getAuthenticationCallback | ( | ) | throws InternalException |
Android specific. Returns the AuthenticationCallback.
InternalException | if an unexpected error occurred. |
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. |
Object com.hidglobal.ia.service.protectionpolicy.BioPasswordPolicy.getCancellationSignal | ( | ) | throws InternalException |
Deprecated. Android specific. Returns the CancellationSignal.
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 | ( | Activity | activity, |
AuthenticationCallback | authCallback, | ||
PromptInfo | promptInfo | ||
) |
Android specific. Passes the AndroidX Biometrics objects to the SDK to enable biometrics support.
activity | Application activity 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 |