mirror of
https://codeberg.org/demostf/api.git
synced 2026-06-04 10:24:07 +02:00
cleanup
This commit is contained in:
parent
5986d8552d
commit
73469d2aa1
29 changed files with 140 additions and 149 deletions
|
|
@ -6,6 +6,7 @@ namespace Demostf\API\Providers;
|
|||
|
||||
use Doctrine\DBAL\Connection;
|
||||
use RandomLib\Generator;
|
||||
use SteamId;
|
||||
|
||||
class AuthProvider extends BaseProvider {
|
||||
/**
|
||||
|
|
@ -22,7 +23,7 @@ class AuthProvider extends BaseProvider {
|
|||
return $this->generator->generateString(32, Generator::CHAR_ALNUM);
|
||||
}
|
||||
|
||||
public function setUser(string $token, \SteamId $steamid, string $key) {
|
||||
public function setUser(string $token, SteamId $steamid, string $key) {
|
||||
apcu_store($token, [
|
||||
'name' => $steamid->getNickname(),
|
||||
'steamid' => $steamid->getSteamId64(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue