This repository has been archived by the owner on May 31, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathConstants.cs
29 lines (28 loc) · 1.6 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
//
// Copyright (c) Vincent LE TOUX for Ping Castle. All rights reserved.
// https://www.pingcastle.com
//
// Licensed under the Non-Profit OSL. See LICENSE file in the project root for full license information.
//
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace PingCastleCloud
{
public class Constants
{
public const string LoginEndPoint = "https://login.microsoftonline.com/";
public const string OAuth2AuthorizeEndPoint = "https://login.microsoftonline.com/common/oauth2/authorize";
public const string OAuth2TokenEndPoint = "https://login.microsoftonline.com/common/oauth2/token";
public const string OAuth2NativeClientEndPoint = "urn:ietf:wg:oauth:2.0:oob";//"https://login.microsoftonline.com/common/oauth2/nativeclient";
public const string UserRealmEndpoint = "https://login.microsoftonline.com/common/userrealm/";
public const string UserRealmSRFEndpoint = "https://login.microsoftonline.com/GetUserRealm.srf?login=";
public const string UserRealmCTEndpoint = "https://login.microsoftonline.com/common/GetCredentialType";
public const string OpenIdConfigurationEndpoint = "https://login.windows.net/xxxxx/.well-known/openid-configuration";
public const string ProvisionningEndpoint = "https://provisioningapi.microsoftonline.com/provisioningwebservice.svc";
public const string redirectUri = "urn:ietf:wg:oauth:2.0:oob";
public const string OrganisationsNativeClient = "https://login.microsoftonline.com/organizations/oauth2/nativeclient";
}
}