Skip to content

Commit

Permalink
Deprecate TokenBindingStatus.fromJsonString()
Browse files Browse the repository at this point in the history
  • Loading branch information
emlun committed Mar 29, 2022
1 parent d2753cb commit 9ce1422
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions NEWS
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ Deprecated features:
release will remove this option and always behave as if the option had been
set to `true`.
* Enum value `AttestationType.ECDAA`. ECDAA was removed in WebAuthn Level 2.
* Function `TokenBindingStatus.fromJsonString(String)` deprecated. It should not
have been part of the public API to begin with.


== Version 1.12.3 (unreleased) ==
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,12 @@ private static Optional<TokenBindingStatus> fromString(@NonNull String value) {
}

@JsonCreator
@Deprecated
/**
* @deprecated Use <code>
* {@link CollectedClientData#getTokenBinding()}.{@link TokenBindingInfo#getStatus() getStatus()}
* </code> instead.
*/
public static TokenBindingStatus fromJsonString(@NonNull String value) {
return fromString(value)
.orElseThrow(
Expand Down

0 comments on commit 9ce1422

Please sign in to comment.