diff --git a/src/Authentication/Masa.BuildingBlocks.Authentication.Oidc.Domain/_import.cs b/src/Authentication/Masa.BuildingBlocks.Authentication.Oidc.Domain/_Imports.cs similarity index 100% rename from src/Authentication/Masa.BuildingBlocks.Authentication.Oidc.Domain/_import.cs rename to src/Authentication/Masa.BuildingBlocks.Authentication.Oidc.Domain/_Imports.cs diff --git a/src/Authentication/Masa.BuildingBlocks.Authentication.Oidc.Models/Constans/GrantTypes.cs b/src/Authentication/Masa.BuildingBlocks.Authentication.Oidc.Models/Constans/GrantTypes.cs index 30d7ad3..dbcd5e5 100644 --- a/src/Authentication/Masa.BuildingBlocks.Authentication.Oidc.Models/Constans/GrantTypes.cs +++ b/src/Authentication/Masa.BuildingBlocks.Authentication.Oidc.Models/Constans/GrantTypes.cs @@ -6,32 +6,32 @@ namespace Masa.BuildingBlocks.Authentication.Oidc.Models.Constans; public class GrantTypes { public static ICollection Implicit => - new[] { GrantType.Implicit }; + new[] { GrantType.IMPLICIT }; public static ICollection ImplicitAndClientCredentials => - new[] { GrantType.Implicit, GrantType.ClientCredentials }; + new[] { GrantType.IMPLICIT, GrantType.CLIENT_CREDENTIALS }; public static ICollection Code => - new[] { GrantType.AuthorizationCode }; + new[] { GrantType.AUTHORIZATION_CODE }; public static ICollection CodeAndClientCredentials => - new[] { GrantType.AuthorizationCode, GrantType.ClientCredentials }; + new[] { GrantType.AUTHORIZATION_CODE, GrantType.CLIENT_CREDENTIALS }; public static ICollection Hybrid => - new[] { GrantType.Hybrid }; + new[] { GrantType.HYBRID }; public static ICollection HybridAndClientCredentials => - new[] { GrantType.Hybrid, GrantType.ClientCredentials }; + new[] { GrantType.HYBRID, GrantType.CLIENT_CREDENTIALS }; public static ICollection ClientCredentials => - new[] { GrantType.ClientCredentials }; + new[] { GrantType.CLIENT_CREDENTIALS }; public static ICollection ResourceOwnerPassword => - new[] { GrantType.ResourceOwnerPassword }; + new[] { GrantType.RESOURCE_OWNER_PASSWORD }; public static ICollection ResourceOwnerPasswordAndClientCredentials => - new[] { GrantType.ResourceOwnerPassword, GrantType.ClientCredentials }; + new[] { GrantType.RESOURCE_OWNER_PASSWORD, GrantType.CLIENT_CREDENTIALS }; public static ICollection DeviceFlow => - new[] { GrantType.DeviceFlow }; + new[] { GrantType.DEVICE_FLOW }; }