Skip to content

Commit 9ce1422

Browse files
committed
Deprecate TokenBindingStatus.fromJsonString()
1 parent d2753cb commit 9ce1422

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

NEWS

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ Deprecated features:
88
release will remove this option and always behave as if the option had been
99
set to `true`.
1010
* Enum value `AttestationType.ECDAA`. ECDAA was removed in WebAuthn Level 2.
11+
* Function `TokenBindingStatus.fromJsonString(String)` deprecated. It should not
12+
have been part of the public API to begin with.
1113

1214

1315
== Version 1.12.3 (unreleased) ==

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,12 @@ private static Optional<TokenBindingStatus> fromString(@NonNull String value) {
6666
}
6767

6868
@JsonCreator
69+
@Deprecated
70+
/**
71+
* @deprecated Use <code>
72+
* {@link CollectedClientData#getTokenBinding()}.{@link TokenBindingInfo#getStatus() getStatus()}
73+
* </code> instead.
74+
*/
6975
public static TokenBindingStatus fromJsonString(@NonNull String value) {
7076
return fromString(value)
7177
.orElseThrow(

0 commit comments

Comments
 (0)