Builder for
BrowserPublicKeyCredentialCreationOptions
.
Public Constructor Summary
Builder()
The constructor of
BrowserPublicKeyCredentialCreationOptions.Builder .
|
Public Method Summary
BrowserPublicKeyCredentialCreationOptions |
build()
Builds the
BrowserPublicKeyCredentialCreationOptions object.
|
BrowserPublicKeyCredentialCreationOptions.Builder |
setClientDataHash(byte[] clientDataHash)
Sets a clientDataHash value to sign over in place of assembling and hashing
clientDataJSON during the signature request.
|
BrowserPublicKeyCredentialCreationOptions.Builder | |
BrowserPublicKeyCredentialCreationOptions.Builder |
setPublicKeyCredentialCreationOptions(PublicKeyCredentialCreationOptions
publicKeyCredentialCreationOptions)
Sets the parameters to dictate the client behavior during this registration
session.
|
Inherited Method Summary
Public Constructors
public Builder ()
The constructor of
BrowserPublicKeyCredentialCreationOptions.Builder
.
Public Methods
public BrowserPublicKeyCredentialCreationOptions build ()
Builds the
BrowserPublicKeyCredentialCreationOptions
object.
public BrowserPublicKeyCredentialCreationOptions.Builder setClientDataHash (byte[] clientDataHash)
Sets a clientDataHash value to sign over in place of assembling and hashing clientDataJSON during the signature request.
Note: This is optional and only provided for contexts where the unhashed information
necessary to assemble WebAuthn clientDataJSON is not available. If set, the resulting
AuthenticatorAttestationResponse
will return an invalid value for
getClientDataJSON()
. Generally, browser clients should use
PublicKeyCredentialCreationOptions.Builder.setChallenge(byte[])
instead.
public BrowserPublicKeyCredentialCreationOptions.Builder setOrigin (Uri origin)
Sets the origin on whose behalf the calling browser is requesting a registration operation.
public BrowserPublicKeyCredentialCreationOptions.Builder setPublicKeyCredentialCreationOptions (PublicKeyCredentialCreationOptions publicKeyCredentialCreationOptions)
Sets the parameters to dictate the client behavior during this registration session.