File tree Expand file tree Collapse file tree 3 files changed +18
-1
lines changed
webauthn-server-core/src/main/java/com/yubico/webauthn/data Expand file tree Collapse file tree 3 files changed +18
-1
lines changed Original file line number Diff line number Diff line change
1
+ == Version 2.5.2 (unreleased) ==
2
+
3
+ Fixes:
4
+
5
+ * Allow unknown properties in `credProps` client extension output.
6
+
7
+
1
8
== Version 2.5.1 ==
2
9
3
10
Changes:
Original file line number Diff line number Diff line change 4
4
import java .util .Set ;
5
5
6
6
public interface ExtensionOutputs {
7
- /** Returns a {@link Set} of the extension IDs for which an extension output is present. */
7
+ /**
8
+ * Returns a {@link Set} of recognized extension IDs for which an extension output is present.
9
+ *
10
+ * <p>This only includes extension identifiers recognized by the java-webauthn-server library.
11
+ * Recognized extensions can be found as the properties of {@link
12
+ * ClientRegistrationExtensionOutputs} for registration ceremonies, and {@link
13
+ * ClientAssertionExtensionOutputs} for authentication ceremonies. Unknown extension identifiers
14
+ * are silently ignored.
15
+ */
8
16
@ JsonIgnore
9
17
Set <String > getExtensionIds ();
10
18
}
Original file line number Diff line number Diff line change 1
1
package com .yubico .webauthn .data ;
2
2
3
3
import com .fasterxml .jackson .annotation .JsonCreator ;
4
+ import com .fasterxml .jackson .annotation .JsonIgnoreProperties ;
4
5
import com .fasterxml .jackson .annotation .JsonProperty ;
5
6
import com .fasterxml .jackson .annotation .JsonValue ;
6
7
import com .upokecenter .cbor .CBORObject ;
@@ -63,6 +64,7 @@ public static class CredentialProperties {
63
64
* Credential Properties Extension (credProps)</a>
64
65
*/
65
66
@ Value
67
+ @ JsonIgnoreProperties (ignoreUnknown = true )
66
68
public static class CredentialPropertiesOutput {
67
69
@ JsonProperty ("rk" )
68
70
private final Boolean rk ;
You can’t perform that action at this time.
0 commit comments