Skip to content

Commit 1bccb67

Browse files
committed
Add @SInCE tags to JavaDoc of features added in 2.7.0
1 parent f2a9e2a commit 1bccb67

9 files changed

+55
-0
lines changed

webauthn-server-core/src/main/java/com/yubico/webauthn/RegistrationResult.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -386,6 +386,7 @@ public Optional<Boolean> isDiscoverable() {
386386
*
387387
* @return the <code>credProtect</code> extension policy that was set for the credential, if
388388
* available.
389+
* @since 2.7.0
389390
* @see
390391
* StartRegistrationOptions.StartRegistrationOptionsBuilder#extensions(RegistrationExtensionInputs)
391392
* @see

webauthn-server-core/src/main/java/com/yubico/webauthn/RelyingParty.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -611,6 +611,7 @@ public static class RelyingPartyBuilder {
611611
* data origin must be valid URLs. Origins that are not valid URLs are matched only by exact
612612
* string equality.
613613
*
614+
* @since 0.6.0
614615
* @see #getIdentity()
615616
* @see #origins(Optional)
616617
*/
@@ -644,6 +645,7 @@ public RelyingPartyBuilder origins(@NonNull Set<String> origins) {
644645
* data origin must be valid URLs. Origins that are not valid URLs are matched only by exact
645646
* string equality.
646647
*
648+
* @since 2.7.0
647649
* @see #getIdentity()
648650
* @see #origins(Set)
649651
*/

webauthn-server-core/src/main/java/com/yubico/webauthn/RelyingPartyV2.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -586,6 +586,7 @@ public static class RelyingPartyV2Builder<C extends CredentialRecord> {
586586
* data origin must be valid URLs. Origins that are not valid URLs are matched only by exact
587587
* string equality.
588588
*
589+
* @since 2.7.0
589590
* @see #getIdentity()
590591
* @see #origins(Optional)
591592
*/
@@ -619,6 +620,7 @@ public RelyingPartyV2Builder<C> origins(@NonNull Set<String> origins) {
619620
* data origin must be valid URLs. Origins that are not valid URLs are matched only by exact
620621
* string equality.
621622
*
623+
* @since 2.7.0
622624
* @see #getIdentity()
623625
* @see #origins(Set)
624626
*/

webauthn-server-core/src/main/java/com/yubico/webauthn/data/AssertionExtensionInputs.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -199,6 +199,7 @@ public AssertionExtensionInputsBuilder largeBlob(
199199
* with a "fallback" input for credentials without their own input.
200200
* </ul>
201201
*
202+
* @since 2.7.0
202203
* @see Extensions.Prf.PrfAuthenticationInput#eval(Extensions.Prf.PrfValues)
203204
* @see Extensions.Prf.PrfAuthenticationInput#evalByCredential(Map)
204205
* @see Extensions.Prf.PrfAuthenticationInput#evalByCredentialWithFallback(Map,
@@ -278,6 +279,7 @@ private Extensions.LargeBlob.LargeBlobAuthenticationInput getLargeBlobJson() {
278279
* <p>This extension allows a Relying Party to evaluate outputs from a pseudo-random function
279280
* (PRF) associated with a credential.
280281
*
282+
* @since 2.7.0
281283
* @see Extensions.Prf.PrfAuthenticationInput#eval(Extensions.Prf.PrfValues)
282284
* @see Extensions.Prf.PrfAuthenticationInput#evalByCredential(Map)
283285
* @see Extensions.Prf.PrfAuthenticationInput#evalByCredentialWithFallback(Map,

webauthn-server-core/src/main/java/com/yubico/webauthn/data/AuthenticatorRegistrationExtensionOutputs.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,7 @@ public Set<String> getExtensionIds() {
144144
* href="https://fidoalliance.org/specs/fido-v2.1-ps-20210615/fido-client-to-authenticator-protocol-v2.1-ps-20210615.html#sctn-credProtect-extension">Credential
145145
* Protection (credProtect) extension</a>, if any. This indicates the credential protection
146146
* policy that was set for the credential.
147+
* @since 2.7.0
147148
* @see <a
148149
* href="https://fidoalliance.org/specs/fido-v2.1-ps-20210615/fido-client-to-authenticator-protocol-v2.1-ps-20210615.html#sctn-credProtect-extension">CTAP2
149150
* §12.1. Credential Protection (credProtect)</a>

webauthn-server-core/src/main/java/com/yubico/webauthn/data/ClientAssertionExtensionOutputs.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,7 @@ public Optional<Extensions.LargeBlob.LargeBlobAuthenticationOutput> getLargeBlob
126126
* href="https://www.w3.org/TR/2025/WD-webauthn-3-20250127/#prf-extension">Pseudo-random function
127127
* (<code>prf</code>) extension</a>, if any.
128128
*
129+
* @since 2.7.0
129130
* @see com.yubico.webauthn.data.Extensions.Prf.PrfAuthenticationOutput
130131
* @see <a href="https://www.w3.org/TR/2025/WD-webauthn-3-20250127/#prf-extension">§10.1.4.
131132
* Pseudo-random function extension (prf)</a>

webauthn-server-core/src/main/java/com/yubico/webauthn/data/ClientRegistrationExtensionOutputs.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,7 @@ public Optional<Extensions.LargeBlob.LargeBlobRegistrationOutput> getLargeBlob()
140140
* href="https://www.w3.org/TR/2025/WD-webauthn-3-20250127/#prf-extension">Pseudo-random function
141141
* (<code>prf</code>) extension</a>, if any.
142142
*
143+
* @since 2.7.0
143144
* @see com.yubico.webauthn.data.Extensions.Prf.PrfRegistrationOutput
144145
* @see <a href="https://www.w3.org/TR/2025/WD-webauthn-3-20250127/#prf-extension">§10.1.4.
145146
* Pseudo-random function extension (prf)</a>

webauthn-server-core/src/main/java/com/yubico/webauthn/data/Extensions.java

Lines changed: 40 additions & 0 deletions
Large diffs are not rendered by default.

webauthn-server-core/src/main/java/com/yubico/webauthn/data/RegistrationExtensionInputs.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,7 @@ public boolean getCredProps() {
120120

121121
/**
122122
* @return The Credential Protection (<code>credProtect</code>) extension input, if set.
123+
* @since 2.7.0
123124
* @see
124125
* RegistrationExtensionInputsBuilder#credProtect(Extensions.CredentialProtection.CredentialProtectionInput)
125126
* @see <a
@@ -157,6 +158,7 @@ public Optional<Extensions.LargeBlob.LargeBlobRegistrationInput> getLargeBlob()
157158
* <p>This extension allows a Relying Party to evaluate outputs from a pseudo-random function
158159
* (PRF) associated with a credential.
159160
*
161+
* @since 2.7.0
160162
* @see Extensions.Prf.PrfRegistrationInput#enable()
161163
* @see Extensions.Prf.PrfRegistrationInput#eval(Extensions.Prf.PrfValues)
162164
* @see <a href="https://www.w3.org/TR/2025/WD-webauthn-3-20250127/#prf-extension">§10.1.4.
@@ -287,6 +289,7 @@ public RegistrationExtensionInputsBuilder credProps(Boolean credProps) {
287289
/**
288290
* Enable or disable the Credential Protection (<code>credProtect</code>) extension.
289291
*
292+
* @since 2.7.0
290293
* @see
291294
* Extensions.CredentialProtection.CredentialProtectionInput#prefer(Extensions.CredentialProtection.CredentialProtectionPolicy)
292295
* @see
@@ -304,6 +307,7 @@ public RegistrationExtensionInputsBuilder credProtect(
304307
/**
305308
* Enable the Credential Protection (<code>credProtect</code>) extension.
306309
*
310+
* @since 2.7.0
307311
* @see
308312
* Extensions.CredentialProtection.CredentialProtectionInput#prefer(Extensions.CredentialProtection.CredentialProtectionPolicy)
309313
* @see
@@ -370,6 +374,7 @@ public RegistrationExtensionInputsBuilder largeBlob(
370374
* follow-up authentication ceremony may be needed in order to evaluate the PRF.
371375
* </ul>
372376
*
377+
* @since 2.7.0
373378
* @see Extensions.Prf.PrfRegistrationInput#enable()
374379
* @see Extensions.Prf.PrfRegistrationInput#eval(Extensions.Prf.PrfValues)
375380
* @see <a href="https://www.w3.org/TR/2025/WD-webauthn-3-20250127/#prf-extension">§10.1.4.

0 commit comments

Comments
 (0)