namespace Yavsc { using Yavsc.Models.Auth; public static class Constants { public const string AccessDeniedPath = "~/signin", AuthorizePath = "~/authorize", TokenPath = "~/token", LocalLoginPath = "~/signin", LoginPath = "~/signin", ExternalLoginPath = "~/extsign", LogoutPath = "~/signout", MePath = "~/api/Me"; public const string ApplicationAuthenticationSheme = "ServerCookie", ExternalAuthenticationSheme= "ExternalCookie"; public static readonly Scope[] SiteScopes = {  new Scope { Id = "profile", Description = "Your profile informations" },   new Scope { Id = "book" , Description ="Your booking interface"},   new Scope { Id = "blog" , Description ="Your blogging interface"},   new Scope { Id = "estimate" , Description ="Your estimation interface"},   new Scope { Id = "contract" , Description ="Your contract signature access"},  new Scope { Id = "admin" , Description ="Your administration rights on this site"},  new Scope { Id = "moderation" , Description ="Your moderator interface"},  new Scope { Id = "frontoffice" , Description ="Your front office interface" } }; public const string CompanyInfoUrl = " https://societeinfo.com/app/rest/api/v1/company/json?registration_number={0}&key={1}", DefaultFactor = "Default", MobileAppFactor = "Google.clood", EMailFactor = "Email", SMSFactor = "Phone", AdminGroupName = "Administrator", BlogModeratorGroupName = "Moderator", FrontOfficeGroupName = "FrontOffice", UserBillsFilesDir= "Bills", UserFilesDir = "UserFiles", GCMNotificationUrl = "https://gcm-http.googleapis.com/gcm/send", KeyProtectorPurpose = "OAuth.AspNet.AuthServer"; private static readonly string[] GoogleScopes = { "openid", "profile", "email" }; public static readonly string[] GoogleCalendarScopes = { "openid", "profile", "email", "https://www.googleapis.com/auth/calendar" }; public const string ApplicationName = "Yavsc", Issuer = "https://dev.pschneider.fr", CompanyClaimType = "https://schemas.pschneider.fr/identity/claims/Company", UserNameRegExp = @"^[a-zA-Z][a-zA-Z0-9 ]*$"; } }