-
- All Implemented Interfaces:
-
com.gigya.android.sdk.auth.IFidoApiService
@RequiresApi(api = Build.VERSION_CODES.M) public class FidoApiServiceV23Impl implements IFidoApiService
Fido api service connector for Android >=M.
-
-
Constructor Summary
Constructors Constructor Description FidoApiServiceV23Impl(Context applicationContext, IPersistenceService persistenceService)
-
Method Summary
Modifier and Type Method Description Array<byte>decodeBase64Url(String origin)voidregister(ActivityResultLauncher<IntentSenderRequest> resultLauncher, WebAuthnInitRegisterResponseModel responseModel, IFidoApiFlowError flowError)WebAuthnAttestationResponseonRegisterResponse(Array<byte> attestationResponse, Array<byte> credentialResponse)Handle Fido API register response. voidsign(ActivityResultLauncher<IntentSenderRequest> resultLauncher, WebAuthnGetOptionsResponseModel responseModel, List<WebAuthnKeyModel> allowedKeys, IFidoApiFlowError flowError)WebAuthnAssertionResponseonSignResponse(Array<byte> fidoApiResponse, Array<byte> credentialResponse)Handle Fido API sign response. GigyaErroronFidoError(Array<byte> errorBytes)-
-
Constructor Detail
-
FidoApiServiceV23Impl
FidoApiServiceV23Impl(Context applicationContext, IPersistenceService persistenceService)
-
-
Method Detail
-
decodeBase64Url
Array<byte> decodeBase64Url(String origin)
-
register
void register(ActivityResultLauncher<IntentSenderRequest> resultLauncher, WebAuthnInitRegisterResponseModel responseModel, IFidoApiFlowError flowError)
-
onRegisterResponse
WebAuthnAttestationResponse onRegisterResponse(Array<byte> attestationResponse, Array<byte> credentialResponse)
Handle Fido API register response.
- Parameters:
attestationResponse- Api response bytes.credentialResponse- Api credential response bytes.
-
sign
void sign(ActivityResultLauncher<IntentSenderRequest> resultLauncher, WebAuthnGetOptionsResponseModel responseModel, List<WebAuthnKeyModel> allowedKeys, IFidoApiFlowError flowError)
-
onSignResponse
WebAuthnAssertionResponse onSignResponse(Array<byte> fidoApiResponse, Array<byte> credentialResponse)
Handle Fido API sign response.
- Parameters:
fidoApiResponse- Api response bytes.credentialResponse- Api credential response bytes.
-
onFidoError
GigyaError onFidoError(Array<byte> errorBytes)
-
-
-
-