Skip to content
This repository was archived by the owner on Mar 23, 2024. It is now read-only.

Commit fd0d6ed

Browse files
committed
🚿
1 parent 6ae8694 commit fd0d6ed

File tree

1 file changed

+24
-24
lines changed

1 file changed

+24
-24
lines changed

src/GitHub/GitHub.php

+24-24
Original file line numberDiff line numberDiff line change
@@ -21,30 +21,30 @@
2121
*/
2222
class GitHub extends OAuth2Provider implements CSRFToken{
2323

24-
const SCOPE_USER = 'user';
25-
const SCOPE_USER_EMAIL = 'user:email';
26-
const SCOPE_USER_FOLLOW = 'user:follow';
27-
const SCOPE_PUBLIC_REPO = 'public_repo';
28-
const SCOPE_REPO = 'repo';
29-
const SCOPE_REPO_DEPLOYMENT = 'repo_deployment';
30-
const SCOPE_REPO_STATUS = 'repo:status';
31-
const SCOPE_REPO_INVITE = 'repo:invite';
32-
const SCOPE_REPO_DELETE = 'delete_repo';
33-
const SCOPE_NOTIFICATIONS = 'notifications';
34-
const SCOPE_GIST = 'gist';
35-
const SCOPE_REPO_HOOK_READ = 'read:repo_hook';
36-
const SCOPE_REPO_HOOK_WRITE = 'write:repo_hook';
37-
const SCOPE_REPO_HOOK_ADMIN = 'admin:repo_hook';
38-
const SCOPE_ORG_HOOK_ADMIN = 'admin:org_hook';
39-
const SCOPE_ORG_READ = 'read:org';
40-
const SCOPE_ORG_WRITE = 'write:org';
41-
const SCOPE_ORG_ADMIN = 'admin:org';
42-
const SCOPE_PUBLIC_KEY_READ = 'read:public_key';
43-
const SCOPE_PUBLIC_KEY_WRITE = 'write:public_key';
44-
const SCOPE_PUBLIC_KEY_ADMIN = 'admin:public_key';
45-
const SCOPE_GPG_KEY_READ = 'read:gpg_key';
46-
const SCOPE_GPG_KEY_WRITE = 'write:gpg_key';
47-
const SCOPE_GPG_KEY_ADMIN = 'admin:gpg_key';
24+
public const SCOPE_USER = 'user';
25+
public const SCOPE_USER_EMAIL = 'user:email';
26+
public const SCOPE_USER_FOLLOW = 'user:follow';
27+
public const SCOPE_PUBLIC_REPO = 'public_repo';
28+
public const SCOPE_REPO = 'repo';
29+
public const SCOPE_REPO_DEPLOYMENT = 'repo_deployment';
30+
public const SCOPE_REPO_STATUS = 'repo:status';
31+
public const SCOPE_REPO_INVITE = 'repo:invite';
32+
public const SCOPE_REPO_DELETE = 'delete_repo';
33+
public const SCOPE_NOTIFICATIONS = 'notifications';
34+
public const SCOPE_GIST = 'gist';
35+
public const SCOPE_REPO_HOOK_READ = 'read:repo_hook';
36+
public const SCOPE_REPO_HOOK_WRITE = 'write:repo_hook';
37+
public const SCOPE_REPO_HOOK_ADMIN = 'admin:repo_hook';
38+
public const SCOPE_ORG_HOOK_ADMIN = 'admin:org_hook';
39+
public const SCOPE_ORG_READ = 'read:org';
40+
public const SCOPE_ORG_WRITE = 'write:org';
41+
public const SCOPE_ORG_ADMIN = 'admin:org';
42+
public const SCOPE_PUBLIC_KEY_READ = 'read:public_key';
43+
public const SCOPE_PUBLIC_KEY_WRITE = 'write:public_key';
44+
public const SCOPE_PUBLIC_KEY_ADMIN = 'admin:public_key';
45+
public const SCOPE_GPG_KEY_READ = 'read:gpg_key';
46+
public const SCOPE_GPG_KEY_WRITE = 'write:gpg_key';
47+
public const SCOPE_GPG_KEY_ADMIN = 'admin:gpg_key';
4848

4949
protected string $authURL = 'https://github.com/login/oauth/authorize';
5050
protected string $accessTokenURL = 'https://github.com/login/oauth/access_token';

0 commit comments

Comments
 (0)