Builds MakeCredentialOptions
.
Public Constructor Summary
MakeCredentialOptions.Builder()
Creates an empty builder.
|
Public Method Summary
MakeCredentialOptions |
build()
Builds a
MakeCredentialOptions .
|
MakeCredentialOptions.Builder | |
MakeCredentialOptions.Builder |
setChallenge(byte[] challenge)
Sets challenge.
|
MakeCredentialOptions.Builder | |
MakeCredentialOptions.Builder | |
MakeCredentialOptions.Builder |
setRequestId(Integer requestId)
Sets the request id in order to link together events into a single session (the
span of events between the time that the server initiates a single FIDO2
request to the client and receives reply) on a single device.
|
MakeCredentialOptions.Builder |
setRp(PublicKeyCredentialEntity
rp)
Sets information for a relying party, on whose behalf a given registration
operation is being performed.
|
MakeCredentialOptions.Builder | |
MakeCredentialOptions.Builder |
setTokenBindingIdValue(TokenBindingIdValue
tokenBindingIdValue)
Sets token binding id value associated with the calling origin.
|
MakeCredentialOptions.Builder |
Inherited Method Summary
Public Constructors
public MakeCredentialOptions.Builder ()
Creates an empty builder.
Public Methods
public MakeCredentialOptions build ()
Builds a
MakeCredentialOptions
.
public MakeCredentialOptions.Builder setAuthenticatorSelection (AuthenticatorSelectionCriteria authenticatorSelection)
Sets attachment. This field is optional.
public MakeCredentialOptions.Builder setChallenge (byte[] challenge)
Sets challenge.
public MakeCredentialOptions.Builder setExcludeList (List<PublicKeyCredentialDescriptor> excludeList)
Sets exclude list. This field is optional.
public MakeCredentialOptions.Builder setParameters (List<PublicKeyCredentialParameters> parameters)
Sets scoped credential parameters.
public MakeCredentialOptions.Builder setRequestId (Integer requestId)
Sets the request id in order to link together events into a single session (the span of events between the time that the server initiates a single FIDO2 request to the client and receives reply) on a single device. This field is optional.
public MakeCredentialOptions.Builder setRp (PublicKeyCredentialEntity rp)
Sets information for a relying party, on whose behalf a given registration operation is being performed.
Note: the RpId should be an effective domain (aka, without scheme or port); and it should also be in secure context (aka https connection). Apps-facing API needs to check the package signature against Digital Asset Links, whose resource is the RP ID with prepended "//". Privileged (browser) API doesn't need the check.
public MakeCredentialOptions.Builder setTimeoutSeconds (Double timeoutSeconds)
Sets timeout in seconds. This field is optional.
public MakeCredentialOptions.Builder setTokenBindingIdValue (TokenBindingIdValue tokenBindingIdValue)
Sets token binding id value associated with the calling origin. This field is optional.
public MakeCredentialOptions.Builder setUser (PublicKeyCredentialUserEntity user)
Sets user information.