Fido2PrivilegedApiClient

public class Fido2PrivilegedApiClient extends GoogleApi<Api.ApiOptions.NoOptions>

The entry point for interacting with the privileged FIDO2 APIs.

Inherited Field Summary

Public Method Summary

Task<Fido2PendingIntent>
Task<PendingIntent>
getRegisterPendingIntent(BrowserPublicKeyCredentialCreationOptions requestOptions)
Creates a Task with PendingIntent, when started, will issue a Fido2 registration request for privileged apps.
Task<Fido2PendingIntent>
Task<PendingIntent>
getSignPendingIntent(BrowserPublicKeyCredentialRequestOptions requestOptions)
Creates a Task with PendingIntent, when started, will issue a FIDO2 signature request for privileged apps.
Task<Boolean>
isUserVerifyingPlatformAuthenticatorAvailable()
Creates a Task with Boolean, which check if a user verifying platform authenticator is available on the device.

Inherited Method Summary

Public Methods

public Task<Fido2PendingIntent> getRegisterIntent (BrowserPublicKeyCredentialCreationOptions requestOptions)

This method is deprecated.
use getRegisterPendingIntent(BrowserPublicKeyCredentialCreationOptions) instead

Creates a Task with PendingIntent, when started, will issue a Fido2 registration request for privileged apps.

Parameters
requestOptions for the registration request from a Web browser
Returns
  • PendingResult with PendingIntent to launch Fido2 registration request

public Task<PendingIntent> getRegisterPendingIntent (BrowserPublicKeyCredentialCreationOptions requestOptions)

Creates a Task with PendingIntent, when started, will issue a Fido2 registration request for privileged apps.

Parameters
requestOptions for the registration request from a Web browser
Returns
  • PendingResult with PendingIntent to launch Fido2 registration request

public Task<Fido2PendingIntent> getSignIntent (BrowserPublicKeyCredentialRequestOptions requestOptions)

This method is deprecated.
use getSignPendingIntent(BrowserPublicKeyCredentialRequestOptions) instead

Creates a Task with PendingIntent, when started, will issue a FIDO2 signature request for privileged apps.

Parameters
requestOptions for the sign request from a Web browser
Returns
  • PendingResult with PendingIntent to launch FIDO2 signature request

public Task<PendingIntent> getSignPendingIntent (BrowserPublicKeyCredentialRequestOptions requestOptions)

Creates a Task with PendingIntent, when started, will issue a FIDO2 signature request for privileged apps.

Parameters
requestOptions for the sign request from a Web browser
Returns
  • PendingResult with PendingIntent to launch FIDO2 signature request

public Task<Boolean> isUserVerifyingPlatformAuthenticatorAvailable ()

Creates a Task with Boolean, which check if a user verifying platform authenticator is available on the device.