mirror of
https://github.com/elyby/accounts.git
synced 2025-01-08 13:14:02 +05:30
bdc96d82c1
Добавлен механизм сохранения сессий и refresh_token
12 lines
270 B
PHP
12 lines
270 B
PHP
<?php
|
|
return [
|
|
'admin' => [
|
|
'id' => 1,
|
|
'account_id' => 1,
|
|
'refresh_token' => 'SOutIr6Seeaii3uqMVy3Wan8sKFVFrNz',
|
|
'last_used_ip' => ip2long('127.0.0.1'),
|
|
'created_at' => time(),
|
|
'last_refreshed_at' => time(),
|
|
],
|
|
];
|