Skip to content

Commit 54a42e3

Browse files
committed
Add JavaDoc for Authenticator*ExtensionOutputs.getUvm
1 parent c1b5e0c commit 54a42e3

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed

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

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,15 @@ public Set<String> getExtensionIds() {
128128
return ids;
129129
}
130130

131+
/**
132+
* @return The <a
133+
* href="https://www.w3.org/TR/2021/REC-webauthn-2-20210408/#authenticator-extension-output">authenticator
134+
* extension output</a> for the <a
135+
* href="https://www.w3.org/TR/2021/REC-webauthn-2-20210408/#sctn-uvm-extension">User
136+
* Verification Method (<code>uvm</code>) extension</a>, if any.
137+
* @see <a href="https://www.w3.org/TR/2021/REC-webauthn-2-20210408/#sctn-uvm-extension">§10.3.
138+
* User Verification Method extension (uvm)</a>
139+
*/
131140
public Optional<List<Extensions.Uvm.UvmEntry>> getUvm() {
132141
return Optional.ofNullable(uvm);
133142
}

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

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,15 @@ public Set<String> getExtensionIds() {
128128
return ids;
129129
}
130130

131+
/**
132+
* @return The <a
133+
* href="https://www.w3.org/TR/2021/REC-webauthn-2-20210408/#authenticator-extension-output">authenticator
134+
* extension output</a> for the <a
135+
* href="https://www.w3.org/TR/2021/REC-webauthn-2-20210408/#sctn-uvm-extension">User
136+
* Verification Method (<code>uvm</code>) extension</a>, if any.
137+
* @see <a href="https://www.w3.org/TR/2021/REC-webauthn-2-20210408/#sctn-uvm-extension">§10.3.
138+
* User Verification Method extension (uvm)</a>
139+
*/
131140
public Optional<List<Extensions.Uvm.UvmEntry>> getUvm() {
132141
return Optional.ofNullable(uvm);
133142
}

0 commit comments

Comments
 (0)