mirror of
https://github.com/elyby/accounts.git
synced 2024-10-30 15:33:21 +05:30
45101d6453
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]
28 lines
721 B
PHP
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,
|
|
],
|
|
];
|