RequestOptions
Known Indirect Subclasses
|
An abstract class representing FIDO2 request options.
Inherited Constant Summary
From interface android.os.Parcelable
int |
CONTENTS_FILE_DESCRIPTOR |
|
int |
PARCELABLE_WRITE_RETURN_VALUE |
|
Public Constructor Summary
Inherited Method Summary
From class java.lang.Object
Object
|
clone()
|
boolean |
|
void |
finalize()
|
final Class<?>
|
getClass()
|
int |
hashCode()
|
final void |
notify()
|
final void |
notifyAll()
|
String
|
toString()
|
final void |
wait(long arg0, int arg1)
|
final void |
wait(long arg0)
|
final void |
wait()
|
From interface android.os.Parcelable
abstract int |
describeContents()
|
abstract void |
writeToParcel( Parcel arg0,
int arg1)
|
Public Methods
public abstract byte[]
getChallenge ()
public abstract Integer getRequestId ()
public abstract Double getTimeoutSeconds ()
public byte[] serializeToBytes ()
Serializes the RequestOptions
to bytes. Use
deserializeFromBytes(byte[]) to deserialize.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-10-31 UTC.
[null,null,["Last updated 2024-10-31 UTC."],[[["`RequestOptions` is an abstract class defining parameters for FIDO2 requests, encompassing creation and assertion operations."],["It provides methods to access request details like challenge, request ID, timeout, and token binding."],["Developers can serialize `RequestOptions` to byte arrays for storage or transmission and deserialize them back."],["Direct subclasses include `BrowserRequestOptions`, `PublicKeyCredentialCreationOptions`, and `PublicKeyCredentialRequestOptions`, each tailored for specific FIDO2 operations."],["Indirect subclasses, like `BrowserPublicKeyCredentialCreationOptions`, further specialize options for browser-based interactions within FIDO2 flows."]]],["`RequestOptions` is an abstract class for FIDO2 request parameters, implementing `Parcelable`. It has subclasses for browser-based requests and credential creation/request. Key actions include retrieving a challenge (`getChallenge`), request ID (`getRequestId`), timeout duration (`getTimeoutSeconds`), and token binding data (`getTokenBinding`). It can also be serialized into bytes (`serializeToBytes`). The `RequestOptions` can be used to manage requests, creation, and browser options related to authentication and credential management.\n"]]