mirror of
https://github.com/elyby/accounts.git
synced 2024-12-27 07:30:18 +05:30
22 lines
425 B
PHP
22 lines
425 B
PHP
<?php
|
|
namespace common\models;
|
|
|
|
use yii\db\ActiveRecord;
|
|
|
|
/**
|
|
* Поля:
|
|
* @property string $id
|
|
*/
|
|
class OauthScope extends ActiveRecord {
|
|
|
|
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 tableName() {
|
|
return '{{%oauth_scopes}}';
|
|
}
|
|
|
|
}
|