File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed
webauthn-server-core/src/main/java/com/yubico/webauthn/data Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -768,22 +768,18 @@ public static class Prf {
768
768
@ Value
769
769
public static class PrfValues {
770
770
/** */
771
- @ JsonProperty public final ByteArray first ; // REQUIRED
771
+ @ JsonProperty @ NonNull public final ByteArray first ;
772
772
773
773
@ JsonProperty public final ByteArray second ;
774
774
775
775
@ JsonCreator
776
776
public PrfValues (
777
- @ JsonProperty ("first" ) final ByteArray first ,
777
+ @ JsonProperty ("first" ) @ NonNull final ByteArray first ,
778
778
@ JsonProperty ("second" ) final ByteArray second ) {
779
779
this .first = first ;
780
780
this .second = second ;
781
781
}
782
782
783
- public Optional <ByteArray > getFirst () {
784
- return Optional .ofNullable (first );
785
- }
786
-
787
783
public Optional <ByteArray > getSecond () {
788
784
return Optional .ofNullable (second );
789
785
}
You can’t perform that action at this time.
0 commit comments