mirror of
https://github.com/elyby/oauth2-server.git
synced 2024-11-30 02:33:14 +05:30
Coverted tabs to spaces
This commit is contained in:
parent
cff3817865
commit
6d7aa9726d
@ -4,23 +4,23 @@ namespace LNCD\OAuth2server;
|
||||
|
||||
class AccessToken
|
||||
{
|
||||
function __construct()
|
||||
{
|
||||
function __construct()
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
public function get(int $sessionId)
|
||||
{
|
||||
// returns an access token that the user may already have (else generate a new one)
|
||||
}
|
||||
public function get(int $sessionId)
|
||||
{
|
||||
// returns an access token that the user may already have (else generate a new one)
|
||||
}
|
||||
|
||||
public function validate(string $accessToken, array $scopes)
|
||||
{
|
||||
// tests if an access token is valid
|
||||
}
|
||||
public function validate(string $accessToken, array $scopes)
|
||||
{
|
||||
// tests if an access token is valid
|
||||
}
|
||||
|
||||
private function set(int $sessionId)
|
||||
{
|
||||
// generate a new access token
|
||||
}
|
||||
private function set(int $sessionId)
|
||||
{
|
||||
// generate a new access token
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user