Biometric And Device Credential
Settings for all the biometric authentication and device credential is configured
Functions
Link copied to clipboard
open override fun authenticate(authenticationCallback: BiometricPrompt.AuthenticationCallback, privateKey: PrivateKey)
Launch the Biometric Prompt.
Display biometric prompt for authentication type
Link copied to clipboard
Link copied to clipboard
generate the public and private keypair
Link copied to clipboard
The JWS algorithm (alg) parameter. Header Parameter identifies the cryptographic algorithm used to secure the JWS.
Link copied to clipboard
Link copied to clipboard
Get the token signed issue time.
Link copied to clipboard
Get the token not before time.
Link copied to clipboard
Link copied to clipboard
check biometric is supported
Link copied to clipboard
Link copied to clipboard
open fun sign(context: Context, userKey: UserKey, privateKey: PrivateKey, signature: Signature?, challenge: String, expiration: Date, customClaims: Map<String, Any> = emptyMap()): String
open fun sign(context: Context, keyPair: KeyPair, signature: Signature?, kid: String, userId: String, challenge: String, expiration: Date, attestation: Attestation = Attestation.None): String
sign the challenge sent from the server and generate signed JWT
Link copied to clipboard
Link copied to clipboard
Validate custom claims