Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
70 lines (47 sloc) 2.31 KB
/*
* 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
};
}
}