AI-generated Key Takeaways
-
BeginSignInRequest.PasskeysRequestOptions.Builder is a builder class for BeginSignInRequest.PasskeysRequestOptions.
-
Direct use of this class and its methods is not supported; developers interested in using passkeys should use the JetPack libraries instead.
-
The builder allows setting a challenge (nonce), a relying party identifier, and whether passkey credentials should be returned.
Builder for
BeginSignInRequest.PasskeysRequestOptions.
Note: Use of this class is not supported directly. If you are interested in using passkeys, use the JetPack libraries.
Public Constructor Summary
|
Builder()
|
Public Method Summary
| BeginSignInRequest.PasskeysRequestOptions |
build()
Note: Use of this method is not supported directly.
|
| BeginSignInRequest.PasskeysRequestOptions.Builder |
setChallenge(byte[] challenge)
Sets the nonce value that the authenticator should sign using a private key
corresponding to a public key credential that is acceptable for this
authentication session.
|
| BeginSignInRequest.PasskeysRequestOptions.Builder | |
| BeginSignInRequest.PasskeysRequestOptions.Builder |
setSupported(boolean supported)
Sets whether passkey credentials should be returned by this API.
|
Inherited Method Summary
Public Constructors
public Builder ()
Public Methods
public BeginSignInRequest.PasskeysRequestOptions build ()
Note: Use of this method is not supported directly. If you are interested in using passkeys, use the JetPack libraries.
public BeginSignInRequest.PasskeysRequestOptions.Builder setChallenge (byte[] challenge)
Sets the nonce value that the authenticator should sign using a private key corresponding to a public key credential that is acceptable for this authentication session.
Note: Use of this method is not supported directly. If you are interested in using passkeys, use the JetPack libraries.
Parameters
| challenge | the challenge |
|---|
public BeginSignInRequest.PasskeysRequestOptions.Builder setRpId (String rpId)
Sets identifier for a relying party, on whose behalf a given authentication operation is being performed. A public key credential can only be used for authentication with the same replying party it was registered with.
Note: Use of this method is not supported directly. If you are interested in using passkeys, use the JetPack libraries.
Note: the RpId should be an effective domain (without scheme or port).
Parameters
| rpId | identifier for a relying party |
|---|
public BeginSignInRequest.PasskeysRequestOptions.Builder setSupported (boolean supported)
Sets whether passkey credentials should be returned by this API.
Note: Use of this method is not supported directly. If you are interested in using passkeys, use the JetPack libraries.
Parameters
| supported | whether passkey credentials should be returned |
|---|