-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor seperate endpointConstants to single EndpointConstants class
- Loading branch information
1 parent
bfae135
commit 2738563
Showing
6 changed files
with
30 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
namespace Shared.Kernel.Constants | ||
{ | ||
public class EndpointConstants | ||
{ | ||
public static class TenantIdentity | ||
{ | ||
public const string UsersEndpoint = "/api/users"; | ||
public const string IdentityOperationsEndpoint = "/api/identityoperations"; | ||
|
||
public const string IdentityAccountPath = "/Identity/Account"; | ||
public const string SignUpPath = "Identity/SignUp"; | ||
public const string LoginPath = "Identity/Login"; | ||
public const string LogoutPath = "api/user/Logout"; | ||
public const string UserClaimsPath = "api/user"; | ||
} | ||
|
||
public static class Subscriptions | ||
{ | ||
public const string StripePremiumSubscriptionPath = "/api/stripe/subscribe/premium"; | ||
public const string StripeEnterpriseSubscriptionPath = "/api/stripe/subscribe/enterprise"; | ||
} | ||
} | ||
} |
11 changes: 0 additions & 11 deletions
11
Source/Shared/Kernel/Constants/Endpoints/SubscriptionsEndpointConstants.cs
This file was deleted.
Oops, something went wrong.
14 changes: 0 additions & 14 deletions
14
Source/Shared/Kernel/Constants/Endpoints/TenantIdentityEndpointContants.cs
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters