yavsc/ZicMoove/ZicMoove/Constants.cs

33 lines
1.3 KiB
C#
Raw Normal View History

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
2016-09-21 04:02:40 +02:00
using Xamarin.Forms;
2017-01-26 13:00:31 +01:00
namespace ZicMoove
{
2017-01-27 15:32:25 +01:00
public static partial class Constants
{
2016-09-21 04:02:40 +02:00
public static readonly string AuthorizeUrl = YavscHomeUrl + "/authorize";
public static readonly string AccessTokenUrl = YavscHomeUrl + "/token";
2017-02-18 02:32:18 +01:00
public const string RedirectUrl = YavscHomeUrl + "/oauth/success";
public static readonly string Scope = "profile";
2016-09-21 04:02:40 +02:00
public static readonly string YavscApiUrl = YavscHomeUrl + "/api";
public static readonly string MobileRegistrationUrl = YavscApiUrl + "/gcm/register";
public static readonly string UserInfoUrl = YavscApiUrl + "/me";
public static readonly string BlogUrl = YavscApiUrl + "/blogs";
2016-10-03 18:34:52 +02:00
public static readonly string FsUrl = YavscApiUrl + "/fs";
2016-10-25 23:20:26 +02:00
public static readonly string SignalRHubsUrl = YavscHomeUrl + "/api/signalr/hubs";
2016-09-21 04:02:40 +02:00
2016-10-17 14:13:27 +02:00
public static int AllowBeATarget = 1;
2016-10-25 23:20:26 +02:00
public static int CloudTimeout = 400;
2017-02-18 02:32:18 +01:00
public const string PermissionMapReceive = Constants.ApplicationName + ".permission.MAPS_RECEIVE";
public const string PermissionC2DMessage = Constants.ApplicationName + ".permission.C2D_MESSAGE";
2017-02-25 17:45:44 +01:00
public const string ImagePath = "images";
}
}