Skip to content

Commit 0df7644

Browse files
committed
Change to correct parameter
1 parent bcc3d3d commit 0df7644

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -152,8 +152,8 @@ public Optional<Extensions.Prf.PrfAuthenticationOutput> getPrf() {
152152
* href="https://www.w3.org/TR/secure-payment-confirmation/#sctn-payment-extension-registration">§5.
153153
* Secure Payment Confirmation extension (SPC)</a>
154154
*/
155-
public Optional<Extensions.Prf.PrfAuthenticationOutput> getSpc() {
156-
return Optional.ofNullable(prf);
155+
public Optional<Extensions.Spc.SpcAuthenticationOutput> getSpc() {
156+
return Optional.ofNullable(spc);
157157
}
158158

159159
public static class ClientAssertionExtensionOutputsBuilder {

0 commit comments

Comments
 (0)