accounts/common/tests/fixtures/data/oauth-sessions.php

52 lines
1.6 KiB
PHP
Raw Normal View History

<?php
return [
'admin-test1' => [
'account_id' => 1,
'client_id' => 'test1',
2019-09-23 03:23:13 +05:30
'legacy_id' => 1,
'scopes' => null,
'created_at' => 1479944472,
2019-12-10 04:08:09 +05:30
'revoked_at' => null,
],
'revoked-tlauncher' => [
'account_id' => 1,
'client_id' => 'tlauncher',
'legacy_id' => null,
'scopes' => null,
'created_at' => Carbon\Carbon::create(2019, 8, 1, 0, 0, 0, 'Europe/Minsk')->unix(),
'revoked_at' => Carbon\Carbon::create(2019, 8, 1, 1, 2, 0, 'Europe/Minsk')->unix(),
],
'revoked-minecraft-game-launchers' => [
'account_id' => 1,
'client_id' => common\models\OauthClient::UNAUTHORIZED_MINECRAFT_GAME_LAUNCHER,
'legacy_id' => null,
'scopes' => null,
'created_at' => Carbon\Carbon::create(2019, 8, 1, 0, 0, 0, 'Europe/Minsk')->unix(),
'revoked_at' => Carbon\Carbon::create(2019, 8, 1, 1, 2, 0, 'Europe/Minsk')->unix(),
],
'banned-account-session' => [
'account_id' => 10,
'client_id' => 'test1',
2019-09-23 03:23:13 +05:30
'legacy_id' => 2,
'scopes' => null,
'created_at' => 1481421663,
2019-12-10 04:08:09 +05:30
'revoked_at' => null,
],
'deleted-client-session' => [
'account_id' => 1,
'client_id' => 'deleted-oauth-client-with-sessions',
2019-09-23 03:23:13 +05:30
'legacy_id' => 3,
'scopes' => null,
'created_at' => 1519510065,
2019-12-10 04:08:09 +05:30
'revoked_at' => null,
],
'actual-deleted-client-session' => [
'account_id' => 2,
'client_id' => 'deleted-oauth-client-with-sessions',
2019-09-23 03:23:13 +05:30
'legacy_id' => 4,
'scopes' => null,
'created_at' => 1519511568,
2019-12-10 04:08:09 +05:30
'revoked_at' => null,
],
];