-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathAPIEndpoints.cs
23 lines (19 loc) · 1.38 KB
/
APIEndpoints.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
namespace SteamAuth
{
public static class APIEndpoints
{
public const string STEAMAPI_BASE = "https://api.steampowered.com";
public const string COMMUNITY_BASE = "https://steamcommunity.com";
public const string LOGIN_STEAMPOWERED_BASE = "https://login.steampowered.com";
public const string MOBILEAUTH_BASE = STEAMAPI_BASE + "/IMobileAuthService/%s/v0001";
public static string MOBILEAUTH_GETWGTOKEN = MOBILEAUTH_BASE.Replace("%s", "GetWGToken");
public const string TWO_FACTOR_BASE = STEAMAPI_BASE + "/ITwoFactorService/%s/v0001";
public static string TWO_FACTOR_TIME_QUERY = TWO_FACTOR_BASE.Replace("%s", "QueryTime");
public const string GetPasswordRSAPublicKey = STEAMAPI_BASE + "/IAuthenticationService/GetPasswordRSAPublicKey/v1/";
public const string BeginAuthSessionViaCredentials = STEAMAPI_BASE + "/IAuthenticationService/BeginAuthSessionViaCredentials/v1/";
public const string UpdateAuthSessionWithSteamGuardCode = STEAMAPI_BASE + "/IAuthenticationService/UpdateAuthSessionWithSteamGuardCode/v1/";
public const string PollAuthSessionStatus = STEAMAPI_BASE + "/IAuthenticationService/PollAuthSessionStatus/v1/";
public const string finalizelogin = LOGIN_STEAMPOWERED_BASE + "/jwt/finalizelogin";
public const string settoken = COMMUNITY_BASE + "/login/settoken";
}
}