Skip to content

Commit 6264ea8

Browse files
authored
feat: grant type add phone number (#723)
1 parent 8139abe commit 6264ea8

File tree

1 file changed

+4
-1
lines changed
  • src/BuildingBlocks/Authentication/OpenIdConnect/Masa.BuildingBlocks.Authentication.OpenIdConnect.Models/Constans

1 file changed

+4
-1
lines changed

src/BuildingBlocks/Authentication/OpenIdConnect/Masa.BuildingBlocks.Authentication.OpenIdConnect.Models/Constans/GrantType.cs

+4-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public static class GrantType
2626
[Description("PhoneCode")]
2727
public const string PHONE_CODE = "phone_code";
2828

29-
[Description("Phone")]
29+
[Description("LocalPhone")]
3030
public const string LOCAL_PHONE = "local_phone";
3131

3232
[Description("ThirdPartyIdp")]
@@ -38,6 +38,9 @@ public static class GrantType
3838
[Description("Impersonation")]
3939
public const string IMPERSONATION = "impersonation";
4040

41+
[Description("PhoneNumber")]
42+
public const string PHONE_NUMBER = "phone_number";
43+
4144
private static readonly List<(string, string)> _disallowCombinations = new List<(string, string)>
4245
{
4346
(IMPLICIT, AUTHORIZATION_CODE),

0 commit comments

Comments
 (0)