Skip to content

Commit

Permalink
feat: grant type add phone number (#723)
Browse files Browse the repository at this point in the history
  • Loading branch information
wzh425 authored Jun 7, 2024
1 parent 8139abe commit 6264ea8
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public static class GrantType
[Description("PhoneCode")]
public const string PHONE_CODE = "phone_code";

[Description("Phone")]
[Description("LocalPhone")]
public const string LOCAL_PHONE = "local_phone";

[Description("ThirdPartyIdp")]
Expand All @@ -38,6 +38,9 @@ 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),
Expand Down

0 comments on commit 6264ea8

Please sign in to comment.