forked from Necrobot-Private/PokemonGo.RocketAPI
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathConstants.cs
More file actions
34 lines (22 loc) · 1.32 KB
/
Constants.cs
File metadata and controls
34 lines (22 loc) · 1.32 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
namespace PokemonGo.RocketAPI
{
public static class Constants
{
// API stuff
public const string ApiUrl = "https://pgorelease.nianticlabs.com/plfe/rpc";
public const string VersionUrl = "https://pgorelease.nianticlabs.com/plfe/version";
// Login stuff
public const string LoginUrl = "https://sso.pokemon.com/sso/login?service=https%3A%2F%2Fsso.pokemon.com%2Fsso%2Foauth2.0%2FcallbackAuthorize";
public const string LoginUserAgent = "pokemongo/1 CFNetwork/808.2.16 Darwin/16.3.0";
public const string LoginOauthUrl = "https://sso.pokemon.com/sso/oauth2.0/accessToken";
public const string GoogleAuthService = "audience:server:client_id:848232511240-7so421jotr2609rmqakceuu1luuq0ptb.apps.googleusercontent.com";
public const string GoogleAuthApp = "com.nianticlabs.pokemongo";
public const string GoogleAuthClientSig = "321187995bc7cdc2b5fc91b11a96e2baa8602c62";
// Login PTC
public const string RpcUrl = ApiUrl;
public const string NumberedRpcUrl = @"https://pgorelease.nianticlabs.com/plfe/{0}/rpc";
public const string PtcLoginUrl = LoginUrl;
public const string PtcLoginOauth = LoginOauthUrl;
public const string GoogleGrantRefreshAccessUrl = "https://android.clients.google.com/auth";
}
}