mirror of
https://github.com/elyby/accounts.git
synced 2024-12-30 00:50:20 +05:30
21 lines
476 B
PHP
21 lines
476 B
PHP
<?php
|
|
namespace common\models;
|
|
|
|
class OauthScope {
|
|
|
|
const OFFLINE_ACCESS = 'offline_access';
|
|
const MINECRAFT_SERVER_SESSION = 'minecraft_server_session';
|
|
const ACCOUNT_INFO = 'account_info';
|
|
const ACCOUNT_EMAIL = 'account_email';
|
|
|
|
public static function getScopes() : array {
|
|
return [
|
|
self::OFFLINE_ACCESS,
|
|
self::MINECRAFT_SERVER_SESSION,
|
|
self::ACCOUNT_INFO,
|
|
self::ACCOUNT_EMAIL,
|
|
];
|
|
}
|
|
|
|
}
|