Add @Deprecated annotation to deprecated profiles (#26174)

Signed-off-by: Jon Koops <jonkoops@gmail.com>
This commit is contained in:
Jon Koops 2024-01-12 22:00:27 +01:00 committed by GitHub
parent 5d3df39f04
commit 94b0e22fb9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -48,6 +48,8 @@ public class Profile {
AUTHORIZATION("Authorization Service", Type.DEFAULT), AUTHORIZATION("Authorization Service", Type.DEFAULT),
ACCOUNT_API("Account Management REST API", Type.DEFAULT), ACCOUNT_API("Account Management REST API", Type.DEFAULT),
@Deprecated
ACCOUNT2("Account Management Console 2", Type.DEPRECATED, Feature.ACCOUNT_API), ACCOUNT2("Account Management Console 2", Type.DEPRECATED, Feature.ACCOUNT_API),
ACCOUNT3("Account Management Console 3", Type.DEFAULT, Feature.ACCOUNT_API), ACCOUNT3("Account Management Console 3", Type.DEFAULT, Feature.ACCOUNT_API),
@ -92,6 +94,7 @@ public class Profile {
DPOP("OAuth 2.0 Demonstrating Proof-of-Possession at the Application Layer", Type.PREVIEW), DPOP("OAuth 2.0 Demonstrating Proof-of-Possession at the Application Layer", Type.PREVIEW),
@Deprecated
LINKEDIN_OAUTH("LinkedIn Social Identity Provider based on OAuth", Type.DEPRECATED), LINKEDIN_OAUTH("LinkedIn Social Identity Provider based on OAuth", Type.DEPRECATED),
DEVICE_FLOW("OAuth 2.0 Device Authorization Grant", Type.DEFAULT), DEVICE_FLOW("OAuth 2.0 Device Authorization Grant", Type.DEFAULT),