This repository has been archived by the owner on Oct 10, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathConstants.cs
68 lines (47 loc) · 2.31 KB
/
Constants.cs
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
/*
* Copyright (c) Microsoft. All rights reserved. Licensed under the MIT license.
* See LICENSE in the source repository root for complete license information.
*/
using System;
using System.Collections.Generic;
using Newtonsoft.Json;
using Newtonsoft.Json.Serialization;
namespace XamarinNativePropertyManager
{
public static class Constants
{
public static string Authority => "https://login.microsoftonline.com/[TENANT_ID_OR_NAME]";
public static string ClientId => "[CLIENT_ID]";
public static List<string> Scopes => new List<string>()
{
"User.Read",
"Group.ReadWrite.All",
"Sites.Read.All",
"Files.ReadWrite.All",
"Tasks.ReadWrite",
"Directory.Read.All"
};
public static string AppGroupDisplayName => "Property Managers";
public static string AppGroupDescription => "Group for all of the users of the Property Manager app.";
public static string AppGroupMail => "propertymanagerapp";
public static string TaskBucketName => "Property Tasks";
public static string DataFileName => "Data.xlsx";
public static string DataFileResourceName => "XamarinNativePropertyManager.Resources." + DataFileName;
public static string DataFileDataSheet => "Data";
public static string DataFilePropertyTable => "PropertyTable";
public static string DataFilePropertyTableColumnStart => "A";
public static string DataFilePropertyTableColumnEnd => "F";
public static int DataFilePropertyTableColumns => 6;
public static string ExcelContentType => "application/xlsx";
public static string JsonContentType => "application/json";
public static string StreamContentType => "application/octet-stream";
public static string[] MediaFileExtensions => new [] { ".png", ".jpg", ".jpeg" };
public static string[] DocumentFileExtensions => new [] { ".docx", ".xlsx", ".one", ".pptx" };
public static string PlannerAssignmentOrderHint => " !";
public static readonly JsonSerializerSettings JsonSerializerSettings = new JsonSerializerSettings
{
ContractResolver = new CamelCasePropertyNamesContractResolver(),
NullValueHandling = NullValueHandling.Ignore
};
}
}