cordova-plugin-android-fingerprint-auth
Advanced tools
Changelog
Version 1.2.7
ERRORS
JSON Object to the FingerprintAuth class prototype with the following fields corresponding to the new fixed error codes:
BAD_PADDING_EXCEPTION,
CERTIFICATE_EXCEPTION,
FINGERPRINT_CANCELLED,
FINGERPRINT_DATA_NOT_DELETED,
FINGERPRINT_ERROR,
FINGERPRINT_NOT_AVAILABLE,
FINGERPRINT_PERMISSION_DENIED,
FINGERPRINT_PERMISSION_DENIED_SHOW_REQUEST,
ILLEGAL_BLOCK_SIZE_EXCEPTION,
INIT_CIPHER_FAILED,
INVALID_ALGORITHM_PARAMETER_EXCEPTION,
IO_EXCEPTION,
JSON_EXCEPTION,
MINIMUM_SDK,
MISSING_ACTION_PARAMETERS,
MISSING_PARAMETERS,
NO_SUCH_ALGORITHM_EXCEPTION,
SECURITY_EXCEPTION
FingerprintAuth.ERRORS.FINGERPRINT_CANCELLED
Changelog
Version 1.2.6
Changelog
Version 1.2.2
isAvailable()
returning message "Missing required parameters".build-extras.gradle
to add dependency com.android.support:support-v4:23.0.0
to check for manifest permissions.SecurityException
Changelog
Version 1.2.0
FingerprintAuth.CipherMode
FingerprintAuth.show()
in favor of separate actions for encrypt and decryptFingerprintAuth.encrypt()
FingerprintAuth.decrypt()
username
optionaltoken
is required for decrypt()
FingerprintAuth.CipherMode
FingerprintAuth.show()
in favor of separate actions for encrypt and decryptChangelog
Version 1.1.0
Introducing encryption and decryption of user credentials.
| Param | Type | Description | | --- | --- | --- | | username | String | (REQUIRED) Used to create credential string for encrypted token and as alias to retrieve the cipher. | | cipherMode | FingerprintAuth.CipherMode | (REQUIRED) Used to determine if plugin should encrypt or decrypt after authentication. <br/><ul><li>FingerprintAuth.CipherMode.ENCRYPT</li><li>FingerprintAuth.CipherMode.DECRYPT</li></ul>| | password | String | Used to create credential string for encrypted token | | token | String | Used to create credential string for encrypted token. |
| Param | Type | Description |
| --- | --- | --- |
| withFingerprint | boolean | true
if user authenticated using a fingerprint |
| withBackup | boolean | true
if user used the backup credentials activity to authenticate. |
| cipherMode | FingerprintAuth.CipherMode | Pass through parameter from config object. |
| token | String | Will contain the base64 encoded credentials if withFingerprint == true
and cipherMode == FingerprintAuth.CipherMode.ENCRYPT
. |
| password | String | Will contain the decrypted password if withFingerprint == true
and cipherMode == FingerprintAuth.CipherMode.DECRYPT
clientSecret
parameter from the FingerprintAuth Config Object.cipherMode
and username
.withFingerprint
is now a boolean. You will need to obtain the encrypted token from the token
field.withPassword
was changed to withBackup