ClientData.Builder
Stay organized with collections
Save and categorize content based on your preferences.
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()
|
Public Methods
Clones this builder instance.
Set the client data challenge value.
Set the client data ChannelIdValue.
Set the origin for the client data.
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-10-31 UTC."],[[["`ClientData.Builder` provides a way to construct instances of `ClientData` objects used in FIDO U2F authentication."],["It offers methods like `setChallenge`, `setOrigin`, `setType`, and `setChannelId` to set the necessary parameters for the `ClientData`."],["Developers can create a new `ClientData.Builder` using `newInstance`, configure its properties, and finally build the `ClientData` object with `build`."],["`ClientData.Builder` is cloneable, allowing developers to easily create copies of existing builder instances for modification."]]],["The `ClientData.Builder` class facilitates the creation of `ClientData` objects. Key actions include: creating new builder instances via `newInstance`, setting specific data like `challenge`, `ChannelIdValue`, `origin`, and `type` using respective `set` methods. You can also make a copy of the builder with the `clone()` function. Finally, the `build()` method produces a finalized `ClientData` object. These public methods are the way to construct `ClientData` objects.\n"]]