From 53d34c92e7edb575aeef27b116a22ea4d938a8ef Mon Sep 17 00:00:00 2001 From: wzh425 Date: Wed, 12 Jun 2024 14:29:18 +0800 Subject: [PATCH] reactor : Restore GrantType (#724) --- .../Constans/GrantType.cs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/BuildingBlocks/Authentication/OpenIdConnect/Masa.BuildingBlocks.Authentication.OpenIdConnect.Models/Constans/GrantType.cs b/src/BuildingBlocks/Authentication/OpenIdConnect/Masa.BuildingBlocks.Authentication.OpenIdConnect.Models/Constans/GrantType.cs index 5cb01b368..bf12f315e 100644 --- a/src/BuildingBlocks/Authentication/OpenIdConnect/Masa.BuildingBlocks.Authentication.OpenIdConnect.Models/Constans/GrantType.cs +++ b/src/BuildingBlocks/Authentication/OpenIdConnect/Masa.BuildingBlocks.Authentication.OpenIdConnect.Models/Constans/GrantType.cs @@ -26,7 +26,7 @@ public static class GrantType [Description("PhoneCode")] public const string PHONE_CODE = "phone_code"; - [Description("LocalPhone")] + [Description("Phone")] public const string LOCAL_PHONE = "local_phone"; [Description("ThirdPartyIdp")] @@ -38,9 +38,6 @@ public static class GrantType [Description("Impersonation")] public const string IMPERSONATION = "impersonation"; - [Description("PhoneNumber")] - public const string PHONE_NUMBER = "phone_number"; - private static readonly List<(string, string)> _disallowCombinations = new List<(string, string)> { (IMPLICIT, AUTHORIZATION_CODE),