From 1e531adfe4016b29e970a31722263a4604306d06 Mon Sep 17 00:00:00 2001 From: Spencer Witt <3409780+spwitt@users.noreply.github.com> Date: Mon, 13 Oct 2025 13:38:27 -0500 Subject: [PATCH] mark IdentityProviderType.id as deprecated ENG-3376 --- .../fusionauth/domain/provider/IdentityProviderType.java | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/main/java/io/fusionauth/domain/provider/IdentityProviderType.java b/src/main/java/io/fusionauth/domain/provider/IdentityProviderType.java index b2965a1d..c9e900a3 100644 --- a/src/main/java/io/fusionauth/domain/provider/IdentityProviderType.java +++ b/src/main/java/io/fusionauth/domain/provider/IdentityProviderType.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2018-2019, FusionAuth, All Rights Reserved + * Copyright (c) 2018-2025, FusionAuth, All Rights Reserved * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -53,6 +53,12 @@ public enum IdentityProviderType { Xbox(UUID.fromString("af53ab21-34c3-468a-8ba2-ecb3905f67f2")); + /** + * The legacy fixed Id for types that were limited to a single configuration per instance prior to version {@code 1.61.0} + * + * @deprecated prefer allowing for any Id instead of expecting a fixed value + */ + @Deprecated public final UUID id; IdentityProviderType(UUID id) {