Skip to content

Commit 3de9992

Browse files
committed
Remove credProps from assertion extension outputs
1 parent 339eb6d commit 3de9992

File tree

2 files changed

+0
-27
lines changed

2 files changed

+0
-27
lines changed

NEWS

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,6 @@ New features:
5858
version increase.
5959
** NOTE: Experimental features may receive breaking changes without a major
6060
version increase.
61-
* (Experimental) Added `credProps` extension to assertion extension outputs.
6261

6362

6463
== Version 2.5.4 ==

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

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -64,18 +64,13 @@ public class ClientAssertionExtensionOutputs implements ClientExtensionOutputs {
6464
*/
6565
private final Boolean appid;
6666

67-
private final Extensions.CredentialProperties.CredentialPropertiesOutput credProps;
68-
6967
private final Extensions.LargeBlob.LargeBlobAuthenticationOutput largeBlob;
7068

7169
@JsonCreator
7270
private ClientAssertionExtensionOutputs(
7371
@JsonProperty("appid") Boolean appid,
74-
@JsonProperty("credProps")
75-
Extensions.CredentialProperties.CredentialPropertiesOutput credProps,
7672
@JsonProperty("largeBlob") Extensions.LargeBlob.LargeBlobAuthenticationOutput largeBlob) {
7773
this.appid = appid;
78-
this.credProps = credProps;
7974
this.largeBlob = largeBlob;
8075
}
8176

@@ -86,9 +81,6 @@ public Set<String> getExtensionIds() {
8681
if (appid != null) {
8782
ids.add(Extensions.Appid.EXTENSION_ID);
8883
}
89-
if (credProps != null) {
90-
ids.add(Extensions.CredentialProperties.EXTENSION_ID);
91-
}
9284
if (largeBlob != null) {
9385
ids.add(Extensions.LargeBlob.EXTENSION_ID);
9486
}
@@ -108,24 +100,6 @@ public Optional<Boolean> getAppid() {
108100
return Optional.ofNullable(appid);
109101
}
110102

111-
/**
112-
* The extension output for the Credential Properties Extension (<code>credProps</code>), if any.
113-
*
114-
* <p>This value MAY be present but have all members empty if the extension was successfully
115-
* processed but no credential properties could be determined.
116-
*
117-
* @see com.yubico.webauthn.data.Extensions.CredentialProperties.CredentialPropertiesOutput
118-
* @see <a
119-
* href="https://www.w3.org/TR/2021/REC-webauthn-2-20210408/#sctn-authenticator-credential-properties-extension">§10.4.
120-
* Credential Properties Extension (credProps)</a>
121-
* @deprecated EXPERIMENTAL: This feature is from a not yet mature standard; it could change as
122-
* the standard matures.
123-
*/
124-
@Deprecated
125-
public Optional<Extensions.CredentialProperties.CredentialPropertiesOutput> getCredProps() {
126-
return Optional.ofNullable(credProps);
127-
}
128-
129103
/**
130104
* The extension output for the <a
131105
* href="https://www.w3.org/TR/2021/REC-webauthn-2-20210408/#sctn-large-blob-extension">Large blob

0 commit comments

Comments
 (0)