Skip to content

Commit 109521e

Browse files
committed
Remove factory functions for PRF outputs
1 parent acebf79 commit 109521e

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

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

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -925,16 +925,6 @@ public static class PrfRegistrationOutput {
925925
this.results = results;
926926
}
927927

928-
/** TODO */
929-
public static PrfRegistrationOutput enabled(final Boolean enabled) {
930-
return new PrfRegistrationOutput(enabled, null);
931-
}
932-
933-
/** TODO */
934-
public static PrfRegistrationOutput results(final PrfValues results) {
935-
return new PrfRegistrationOutput(true, results);
936-
}
937-
938928
public Optional<Boolean> getEnabled() {
939929
return Optional.ofNullable(enabled);
940930
}
@@ -967,10 +957,6 @@ public static class PrfAuthenticationOutput {
967957
this.results = results;
968958
}
969959

970-
public static PrfAuthenticationOutput results(final PrfValues results) {
971-
return new PrfAuthenticationOutput(results);
972-
}
973-
974960
/**
975961
* @return A present {@link Optional} if {@link LargeBlobAuthenticationInput#getRead()} was
976962
* <code>true</code> and the blob content was successfully read. Otherwise (if {@link

0 commit comments

Comments
 (0)