mirror of
https://github.com/elyby/oauth2-server.git
synced 2025-05-31 14:12:07 +05:30
Coverted tabs to spaces
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user