forked from WangNingkai/OLAINDEX
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathConstants.php
42 lines (34 loc) · 1.37 KB
/
Constants.php
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
<?php
/**
* This file is part of the wangningkai/olaindex.
* (c) wangningkai <[email protected]>
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/
namespace App\Service;
final class Constants
{
public const LOGO
= <<<EOF
____ __ ___ _____ ______ _______ __
/ __ \/ / / | / _/ | / / __ \/ ____/ |/ /
/ / / / / / /| | / // |/ / / / / __/ | /
/ /_/ / /___/ ___ |_/ // /| / /_/ / /___ / |
\____/_____/_/ |_/___/_/ |_/_____/_____//_/|_|
- v6.0.0
- Designed by IMWNK | Powered by OLAINDEX
EOF;
public const VERSION = 'v5.0';
public const DEFAULT_REDIRECT_URI = 'https://olaindex.github.io/oauth.html';
public const API_VERSION = 'v1.0';
public const SCOPES = 'offline_access user.read files.readwrite.all';
public const REST_ENDPOINT = 'https://graph.microsoft.com/';
public const AUTHORITY_URL = 'https://login.microsoftonline.com/common';
public const AUTHORIZE_ENDPOINT = '/oauth2/v2.0/authorize';
public const TOKEN_ENDPOINT = '/oauth2/v2.0/token';
// support 21vianet
public const REST_ENDPOINT_CN = 'https://microsoftgraph.chinacloudapi.cn/';
public const AUTHORITY_URL_CN = 'https://login.partner.microsoftonline.cn/common';
public const AUTHORIZE_ENDPOINT_CN = '/oauth2/authorize';
public const TOKEN_ENDPOINT_CN = '/oauth2/token';
}