java.lang.Object | |
↳ | com.google.android.gms.fido.Fido |
Entry point for Fido APIs.
FIDO (Fast IDentity Online), which is the industry alliance where Security Keys are being standardized.
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
String | FIDO2_KEY_ERROR_EXTRA | The key used by the calling Activity to retrieve AuthenticatorErrorResponse
from the Intent received by onActivityResult(int, int, Intent) after launching Fido2PendingIntent . |
|||||||||
String | FIDO2_KEY_RESPONSE_EXTRA | The key used by the calling Activity to retrieve AuthenticatorAttestationResponse or AuthenticatorAssertionResponse from the Intent
received by onActivityResult(int, int, Intent) after launching Fido2PendingIntent . |
|||||||||
String | KEY_RESPONSE_EXTRA | The key used by the calling Activity to retrieve ResponseData from the Intent
received by onActivityResult(int, int, Intent) after launching U2fPendingIntent . |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Create a new instance of
Fido2ApiClient for use in a non-activity Context . | |||||||||||
Create a new instance of
Fido2ApiClient for use in an Activity . | |||||||||||
Create a new instance of
Fido2PrivilegedApiClient for use in a non-activity Context . | |||||||||||
Create a new instance of
Fido2PrivilegedApiClient for use in an Activity . | |||||||||||
Create a new instance of
U2fApiClient for use in a non-activity Context . | |||||||||||
Create a new instance of
U2fApiClient for use in an Activity . |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
The key used by the calling Activity
to retrieve AuthenticatorErrorResponse
from the Intent received by onActivityResult(int, int, Intent)
after launching Fido2PendingIntent
.
The key used by the calling Activity
to retrieve AuthenticatorAttestationResponse
or AuthenticatorAssertionResponse
from the Intent
received by onActivityResult(int, int, Intent)
after launching Fido2PendingIntent
.
The key used by the calling Activity
to retrieve ResponseData
from the Intent
received by onActivityResult(int, int, Intent)
after launching U2fPendingIntent
.
Create a new instance of Fido2ApiClient
for use in a non-activity Context
. For
example:
private Fido2ApiClient mFido2ApiClient;
...
mFido2ApiClient = Fido.getFido2ApiClient(this);
Parameters | |
---|---|
context |
Context |
Returns | |
---|---|
Fido2ApiClient |
Create a new instance of Fido2ApiClient
for use in an Activity
. For example:
private Fido2ApiClient mFido2ApiClient;
...
mFido2ApiClient = Fido.getFido2ApiClient(this);
Parameters | |
---|---|
activity |
Activity |
Returns | |
---|---|
Fido2ApiClient |
Create a new instance of Fido2PrivilegedApiClient
for use in a non-activity Context
.
Parameters | |
---|---|
context |
Context |
Returns | |
---|---|
Fido2PrivilegedApiClient |
Create a new instance of Fido2PrivilegedApiClient
for use in an Activity
.
Parameters | |
---|---|
activity |
Activity |
Returns | |
---|---|
Fido2PrivilegedApiClient |
Create a new instance of U2fApiClient
for use in a non-activity Context
. For
example:
private U2fApiClient mU2fApiClient;
...
mU2fApiClient = Fido.getU2fApiClient(this);
Parameters | |
---|---|
context |
Context |
Returns | |
---|---|
U2fApiClient |
Create a new instance of U2fApiClient
for use in an Activity
. For example:
private U2fApiClient mU2fApiClient;
...
mU2fApiClient = Fido.getU2fApiClient(this);
Parameters | |
---|---|
activity |
Activity |
Returns | |
---|---|
U2fApiClient |