-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathConstants.cs
More file actions
47 lines (38 loc) · 2.02 KB
/
Constants.cs
File metadata and controls
47 lines (38 loc) · 2.02 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
35
36
37
38
39
40
41
42
43
44
45
46
47
using System;
namespace customerapp
{
public static class Constants
{
// These values do not need changing
public static string AuthorizeUrl = "https://accounts.google.com/o/oauth2/auth";
public static string AccessTokenUrl = "https://accounts.google.com/o/oauth2/token";
/**
* See https://developers.google.com/+/web/api/rest/oauth#profile
* for more information what the meaning of the scope is.
*/
public static string Scope = "profile email";
/**
* See https://developers.google.com/+/web/api/rest/openidconnect/getOpenIdConnect
* for more information
*/
public static string UserInfoUrl = "https://www.googleapis.com/plus/v1/people/me/openIdConnect";
/**
* Set this property to the location the user will be redirected too after successfully authenticating
* Be aware, that this need to be registred in google Developer Console.
*/
public static string RedirectUrl = "http://www.helin.ch/";
// public static string Server = "152.96.239.182:9000";
public static string Server = "my.helin.ch"; // ifnotelse.com
public static string ApiUrlBase = "https://" + Server;
public static string ApiUrlListProducts = ApiUrlBase + "/api/products/?lat={0}&lon={1}";
public static string ApiUrlListProductsAll = ApiUrlBase + "/api/products/";
public static string ApiUrlListOrder = ApiUrlBase + "/api/orders/";
public static string ApiUrlConfirmOrder = ApiUrlBase + "/api/orders/{0}/confirm/{1}";
public static string ApiUrlDeleteOrder = ApiUrlBase + "/api/orders/{0}/delete";
public static string ApiUrlSaveCustomer = ApiUrlBase + "/api/customers/save";
public static string ApiUrlCustomerFind = ApiUrlBase + "/api/customers/{0}";
public static string ApiUrlOrdersByCustomer = ApiUrlBase + "/api/orders/find-by-customer/{0}";
public static string ApiUrlMissionsByOrder = ApiUrlBase + "/api/missions/find-by-order/{0}";
public static string WsForDroneInfos = "wss://" + Server + "/api/missions/{0}/ws";
}
}