accounts/common/tests/fixtures/data/oauth-sessions.php
ErickSkrauch 45101d6453 Completely restored authorization_code grant for user side.
Reworked oauth_sessions table.
Added extension to use MariaDB's JSON columns.
Rewritten tests for authorization_code grant for client side.
Deprecate some old shit.
[skip ci]
2019-09-18 02:15:12 +03:00

28 lines
721 B
PHP

<?php
return [
'admin-test1' => [
'account_id' => 1,
'client_id' => 'test1',
'scopes' => null,
'created_at' => 1479944472,
],
'banned-account-session' => [
'account_id' => 10,
'client_id' => 'test1',
'scopes' => null,
'created_at' => 1481421663,
],
'deleted-client-session' => [
'account_id' => 1,
'client_id' => 'deleted-oauth-client-with-sessions',
'scopes' => null,
'created_at' => 1519510065,
],
'actual-deleted-client-session' => [
'account_id' => 2,
'client_id' => 'deleted-oauth-client-with-sessions',
'scopes' => null,
'created_at' => 1519511568,
],
];