File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
webauthn-server-core/src/main/java/com/yubico/webauthn/data Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -118,6 +118,12 @@ public boolean getCredProps() {
118118 return credProps != null && credProps ;
119119 }
120120
121+ /** For JSON serialization, to omit false values. */
122+ @ JsonProperty ("credProps" )
123+ private Boolean getCredPropsJson () {
124+ return getCredProps () ? true : null ;
125+ }
126+
121127 /**
122128 * @return The Credential Protection (<code>credProtect</code>) extension input, if set.
123129 * @since 2.7.0
@@ -131,12 +137,6 @@ public Optional<Extensions.CredentialProtection.CredentialProtectionInput> getCr
131137 return Optional .ofNullable (credProtect );
132138 }
133139
134- /** For JSON serialization, to omit false values. */
135- @ JsonProperty ("credProps" )
136- private Boolean getCredPropsJson () {
137- return getCredProps () ? true : null ;
138- }
139-
140140 /**
141141 * @return The value of the Large blob storage extension (<code>largeBlob</code>) input if
142142 * configured, empty otherwise.
You can’t perform that action at this time.
0 commit comments