From c1e62b3ed133a9e70b69886fe038bf6d3de522c6 Mon Sep 17 00:00:00 2001 From: Stanley Dimant Date: Tue, 29 Oct 2024 00:05:08 +0100 Subject: [PATCH] api update --- MareSynchronosAPI/Routes/MareAuth.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/MareSynchronosAPI/Routes/MareAuth.cs b/MareSynchronosAPI/Routes/MareAuth.cs index 8895626..63e5d16 100644 --- a/MareSynchronosAPI/Routes/MareAuth.cs +++ b/MareSynchronosAPI/Routes/MareAuth.cs @@ -5,7 +5,11 @@ public class MareAuth public const string Auth = "/auth"; public const string Auth_CreateIdent = "createWithIdent"; + public const string Auth_CreateOAuth = "createWithOAuth"; public const string Auth_RenewToken = "renewToken"; + public const string Auth_RenewOAuthToken = "renewOAuthToken"; public static Uri AuthFullPath(Uri baseUri) => new Uri(baseUri, Auth + "/" + Auth_CreateIdent); + public static Uri AuthWithOauthFullPath(Uri baseUri) => new Uri(baseUri, Auth + "/" + Auth_CreateOAuth); public static Uri RenewTokenFullPath(Uri baseUri) => new Uri(baseUri, Auth + "/" + Auth_RenewToken); + public static Uri RenewOAuthTokenFullPath(Uri baseUri) => new Uri(baseUri, Auth + "/" + Auth_RenewOAuthToken); } \ No newline at end of file