Class WebAuthnSettings
java.lang.Object
com.revetsec.webauthn.WebAuthnSettings
Bounded parser, ceremony and store-operation settings for a WebAuthn relying party.
Values are application-selected, while Revetsec enforces the protocol bounds.
- Since:
- 1.0.0
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classOne caller-thread settings builder. -
Method Summary
Modifier and TypeMethodDescriptionstatic @NonNull WebAuthnSettings.Builderbuilder()Starts a settings builder with the selected profile defaults.Returns the validity duration of a ceremony.Returns the decoded attestation object limit.Returns the decoded authenticator data limit.Returns the decoded client data limit.Returns the active credential exclusion limit.Returns the raw completion body limit.Returns the caller-thread operation budget.toString()Redacts configuration details.
-
Method Details
-
builder
Starts a settings builder with the selected profile defaults.- Returns:
- builder
- Since:
- 1.0.0
-
getMaximumResponseBodyBytes
Returns the raw completion body limit.- Returns:
- maximum raw completion body bytes
- Since:
- 1.0.0
-
getMaximumClientDataJsonBytes
Returns the decoded client data limit.- Returns:
- maximum decoded clientDataJSON bytes
- Since:
- 1.0.0
-
getMaximumAttestationObjectBytes
Returns the decoded attestation object limit.- Returns:
- maximum decoded attestationObject bytes
- Since:
- 1.0.0
-
getMaximumAuthenticatorDataBytes
Returns the decoded authenticator data limit.- Returns:
- maximum decoded authenticatorData bytes
- Since:
- 1.0.0
-
getMaximumExcludedCredentials
Returns the active credential exclusion limit.- Returns:
- maximum active credential IDs admitted before enrollment is refused
- Since:
- 1.0.0
-
getCeremonyLifetime
Returns the validity duration of a ceremony.- Returns:
- ceremony validity duration
- Since:
- 1.0.0
-
getOperationTimeout
Returns the caller-thread operation budget.- Returns:
- caller-thread operation budget
- Since:
- 1.0.0
-
toString
-