Class RegistrationExtensionInputs.RegistrationExtensionInputsBuilder
- java.lang.Object
-
- com.yubico.webauthn.data.RegistrationExtensionInputs.RegistrationExtensionInputsBuilder
-
- Enclosing class:
- RegistrationExtensionInputs
public static class RegistrationExtensionInputs.RegistrationExtensionInputsBuilder extends java.lang.Object
-
-
Method Summary
-
-
-
Method Detail
-
appidExclude
public RegistrationExtensionInputs.RegistrationExtensionInputsBuilder appidExclude(java.util.Optional<AppId> appidExclude)
Enable or disable the FIDO AppID Exclusion Extension (appidExclude
).You usually do not need to call this method explicitly; if
RelyingParty.getAppId()
is present, thenRelyingParty.startRegistration(StartRegistrationOptions)
will enable this extension automatically.If this is set to empty, then
RelyingParty.startRegistration(StartRegistrationOptions)
may overwrite it.
-
appidExclude
public RegistrationExtensionInputs.RegistrationExtensionInputsBuilder appidExclude(AppId appidExclude)
Enable the FIDO AppID Exclusion Extension (appidExclude
).You usually do not need to call this method explicitly; if
RelyingParty.getAppId()
is present, thenRelyingParty.startRegistration(StartRegistrationOptions)
will enable this extension automatically.If this is set to null, then
RelyingParty.startRegistration(StartRegistrationOptions)
may overwrite it.
-
credProps
public RegistrationExtensionInputs.RegistrationExtensionInputsBuilder credProps()
Enable the Credential Properties (credProps
) Extension.
-
credProps
public RegistrationExtensionInputs.RegistrationExtensionInputsBuilder credProps(java.lang.Boolean credProps)
Enable or disable the Credential Properties (credProps
) Extension.A
true
argument enables the extension. Afalse
argument disables the extension, and will not be overwritten byRelyingParty.startRegistration(StartRegistrationOptions)
. A null argument disables the extension, and will be overwritten byRelyingParty.startRegistration(StartRegistrationOptions)
.
-
largeBlob
public RegistrationExtensionInputs.RegistrationExtensionInputsBuilder largeBlob(Extensions.LargeBlob.LargeBlobRegistrationInput.LargeBlobSupport support)
Enable the Large blob storage extension (largeBlob
).Alias of
largeBlob(new Extensions.LargeBlob.LargeBlobRegistrationInput(support))
.- Parameters:
support
- anExtensions.LargeBlob.LargeBlobRegistrationInput.LargeBlobSupport
value to set as thesupport
attribute of thelargeBlob
extension input.- See Also:
largeBlob(Extensions.LargeBlob.LargeBlobRegistrationInput)
, §10.5. Large blob storage extension (largeBlob)
-
largeBlob
public RegistrationExtensionInputs.RegistrationExtensionInputsBuilder largeBlob(Extensions.LargeBlob.LargeBlobRegistrationInput largeBlob)
Enable the Large blob storage extension (largeBlob
).
-
uvm
public RegistrationExtensionInputs.RegistrationExtensionInputsBuilder uvm()
Enable the User Verification Method Extension (uvm
).
-
build
public RegistrationExtensionInputs build()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-