Skip to content

Commit 7a46f98

Browse files
committed
Add @return to LargeBlobAuthenticationOutput.getBlob() JavaDoc
1 parent 1d96ef2 commit 7a46f98

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -353,6 +353,10 @@ public static class LargeBlobAuthenticationOutput {
353353
* PublicKeyCredential#getId()}. Only valid if {@link LargeBlobAuthenticationInput#getRead()}
354354
* was <code>true</code>.
355355
*
356+
* @return A present {@link Optional} if {@link LargeBlobAuthenticationInput#getRead()} was
357+
* <code>true</code> and the blob content was successfully read. Otherwise (if {@link
358+
* LargeBlobAuthenticationInput#getRead()} was <code>false</code> or the content failed to
359+
* be read) an empty {@link Optional}.
356360
* @see <a
357361
* href="https://www.w3.org/TR/2021/REC-webauthn-2-20210408/#dom-authenticationextensionslargebloboutputs-blob">§10.5.
358362
* Large blob storage extension (largeBlob)</a>

0 commit comments

Comments
 (0)