FidoApiServiceV23Impl

Fido api service connector for Android >=M.

Constructors

Link copied to clipboard
constructor(applicationContext: Context, persistenceService: IPersistenceService)

Functions

Link copied to clipboard
open fun decodeBase64Url(origin: String): Array<Byte>
Link copied to clipboard
open fun onFidoError(errorBytes: Array<Byte>): GigyaError
Link copied to clipboard
open fun onRegisterResponse(attestationResponse: Array<Byte>, credentialResponse: Array<Byte>): WebAuthnAttestationResponse
Handle Fido API register response.
Link copied to clipboard
open fun onSignResponse(fidoApiResponse: Array<Byte>, credentialResponse: Array<Byte>): WebAuthnAssertionResponse
Handle Fido API sign response.
Link copied to clipboard
Link copied to clipboard
open fun sign(resultLauncher: ActivityResultLauncher<IntentSenderRequest>, responseModel: WebAuthnGetOptionsResponseModel, allowedKeys: List<WebAuthnKeyModel>, flowError: IFidoApiFlowError)