BeginSignInRequest.PasskeysRequestOptions.Builder

public static final class BeginSignInRequest.PasskeysRequestOptions.Builder extends Object

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

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
setRpId(String rpId)
Sets identifier for a relying party, on whose behalf a given authentication operation is being performed.
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