114 lines
3.3 KiB
C#
114 lines
3.3 KiB
C#
// ***********************************************************************
|
|
// <copyright file="Routes.cs">
|
|
// AgileWebs
|
|
// </copyright>
|
|
// ***********************************************************************
|
|
|
|
namespace Core.Cerberos.Adapters.Common.Constants
|
|
{
|
|
/// <summary>
|
|
/// Constants of the routes of this service.
|
|
/// </summary>
|
|
public static class Routes
|
|
{
|
|
/// <summary>
|
|
/// The User route.
|
|
/// </summary>
|
|
public const string User = "users";
|
|
|
|
/// <summary>
|
|
/// The Register User route.
|
|
/// </summary>
|
|
public const string Register = "{sendInvitation}/send-invitation/register";
|
|
|
|
/// <summary>
|
|
/// The identifier route.
|
|
/// </summary>
|
|
public const string Id = "{id}";
|
|
|
|
/// <summary>
|
|
/// The Authentication route.
|
|
/// </summary>
|
|
public const string Authentication = "api/v1/authentication";
|
|
|
|
/// <summary>
|
|
/// The LogIn route.
|
|
/// </summary>
|
|
public const string LogIn = "{email}/login";
|
|
|
|
/// <summary>
|
|
/// The LogOut route.
|
|
/// </summary>
|
|
public const string LogOut = "{email}/logout";
|
|
|
|
/// <summary>
|
|
/// The Generate Token route.
|
|
/// </summary>
|
|
public const string GenerateToken = "GenerateToken";
|
|
|
|
/// <summary>
|
|
/// The refresh token route.
|
|
/// </summary>
|
|
public const string RefreshToken = "RefreshToken";
|
|
|
|
/// <summary>
|
|
/// The InviteUser route.
|
|
/// </summary>
|
|
public const string InviteUser = "invite-user";
|
|
|
|
/// <summary>
|
|
/// The role identifier route.
|
|
/// </summary>
|
|
public const string RoleId = "role/{roleId}";
|
|
|
|
/// <summary>
|
|
/// The GetPermissionList route.
|
|
/// </summary>
|
|
public const string GetPermissionList = "GetPermissionList";
|
|
|
|
/// <summary>
|
|
/// The GetModuleList route.
|
|
/// </summary>
|
|
public const string GetModuleList = "GetModuleList";
|
|
|
|
/// <summary>
|
|
/// The ChangeStatus route.
|
|
/// </summary>
|
|
public const string ChangeStatus = "{id}/{newStatus}/ChangeStatus";
|
|
|
|
/// <summary>
|
|
/// The AddCompany route.
|
|
/// </summary>
|
|
public const string AddCompany = "{userId}/Companies/{companyId}/Add";
|
|
|
|
/// <summary>
|
|
/// The RemoveCompany route.
|
|
/// </summary>
|
|
public const string RemoveCompany = "{userId}/Companies/{companyId}/Remove";
|
|
|
|
/// <summary>
|
|
/// The AddProject route.
|
|
/// </summary>
|
|
public const string AddProject = "{userId}/Projects/{projectId}/Add";
|
|
|
|
/// <summary>
|
|
/// The RemoveProject route.
|
|
/// </summary>
|
|
public const string RemoveProject = "{userId}/Projects/{projectId}/Remove";
|
|
|
|
/// <summary>
|
|
/// The AddApplication route.
|
|
/// </summary>
|
|
public const string AddApplication = "{roleId}/{application}/AddApplication";
|
|
|
|
/// <summary>
|
|
/// The RemoveApplication route.
|
|
/// </summary>
|
|
public const string RemoveApplication = "{roleId}/{application}/RemoveApplication";
|
|
|
|
/// <summary>
|
|
/// The email route.
|
|
/// </summary>
|
|
public const string Email = "{email}/GetByEmail";
|
|
}
|
|
} |