|
6 | 6 | import com.fasterxml.jackson.annotation.JsonValue; |
7 | 7 | import com.upokecenter.cbor.CBORObject; |
8 | 8 | import com.upokecenter.cbor.CBORType; |
9 | | -import com.yubico.webauthn.AssertionResult; |
10 | | -import com.yubico.webauthn.AssertionResultV2; |
11 | | -import com.yubico.webauthn.RegistrationResult; |
12 | 9 | import com.yubico.webauthn.StartRegistrationOptions; |
13 | 10 | import com.yubico.webauthn.extension.uvm.KeyProtectionType; |
14 | 11 | import com.yubico.webauthn.extension.uvm.MatcherProtectionType; |
@@ -74,15 +71,9 @@ public static class CredentialPropertiesOutput { |
74 | 71 | @JsonProperty("rk") |
75 | 72 | private final Boolean rk; |
76 | 73 |
|
77 | | - @JsonProperty("authenticatorDisplayName") |
78 | | - private final String authenticatorDisplayName; |
79 | | - |
80 | 74 | @JsonCreator |
81 | | - private CredentialPropertiesOutput( |
82 | | - @JsonProperty("rk") Boolean rk, |
83 | | - @JsonProperty("authenticatorDisplayName") String authenticatorDisplayName) { |
| 75 | + private CredentialPropertiesOutput(@JsonProperty("rk") Boolean rk) { |
84 | 76 | this.rk = rk; |
85 | | - this.authenticatorDisplayName = authenticatorDisplayName; |
86 | 77 | } |
87 | 78 |
|
88 | 79 | /** |
@@ -114,34 +105,6 @@ private CredentialPropertiesOutput( |
114 | 105 | public Optional<Boolean> getRk() { |
115 | 106 | return Optional.ofNullable(rk); |
116 | 107 | } |
117 | | - |
118 | | - /** |
119 | | - * This OPTIONAL property is a human-palatable description of the credential's managing |
120 | | - * authenticator, chosen by the user. |
121 | | - * |
122 | | - * <p>If the application supports setting "nicknames" for registered credentials, then this |
123 | | - * value may be a suitable default value for such a nickname. |
124 | | - * |
125 | | - * <p>In an authentication ceremony, if this value is different from the stored nickname, then |
126 | | - * the application may want to offer the user to update the stored nickname to match this |
127 | | - * value. |
128 | | - * |
129 | | - * @return A user-chosen or vendor-default display name for the credential, if available. |
130 | | - * Otherwise empty. |
131 | | - * @see <a |
132 | | - * href="https://w3c.github.io/webauthn/#dom-credentialpropertiesoutput-authenticatordisplayname"> |
133 | | - * <code>authenticatorDisplayName</code> in §10.1.3. Credential Properties Extension |
134 | | - * (credProps)</a> |
135 | | - * @see RegistrationResult#getAuthenticatorDisplayName() |
136 | | - * @see AssertionResult#getAuthenticatorDisplayName() |
137 | | - * @see AssertionResultV2#getAuthenticatorDisplayName() |
138 | | - * @deprecated EXPERIMENTAL: This feature is from a not yet mature standard; it could change |
139 | | - * as the standard matures. |
140 | | - */ |
141 | | - @Deprecated |
142 | | - public Optional<String> getAuthenticatorDisplayName() { |
143 | | - return Optional.ofNullable(authenticatorDisplayName); |
144 | | - } |
145 | 108 | } |
146 | 109 | } |
147 | 110 |
|
|
0 commit comments