mirror of
https://github.com/elyby/oauth2-server.git
synced 2024-11-15 09:47:46 +05:30
Removed unnecessary methods
This commit is contained in:
parent
d0abd8c295
commit
38f6be2aa0
@ -63,16 +63,6 @@ class Session implements SessionInterface
|
|||||||
$stmt->execute();
|
$stmt->execute();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* Remove an associated redirect URI
|
|
||||||
* @param int $sessionId The session ID
|
|
||||||
* @return void
|
|
||||||
*/
|
|
||||||
public function removeRedirectUri($sessionId)
|
|
||||||
{
|
|
||||||
throw new \Exception('Not implemented - ' . debug_backtrace()[0]['function']);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Associate an access token with a session
|
* Associate an access token with a session
|
||||||
* @param int $sessionId The session ID
|
* @param int $sessionId The session ID
|
||||||
@ -127,16 +117,6 @@ class Session implements SessionInterface
|
|||||||
$stmt->execute();
|
$stmt->execute();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* Remove an associated refresh token from a session
|
|
||||||
* @param int $sessionId The session ID
|
|
||||||
* @return void
|
|
||||||
*/
|
|
||||||
public function removeRefreshToken($sessionId)
|
|
||||||
{
|
|
||||||
throw new \Exception('Not implemented - ' . debug_backtrace()[0]['function']);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Assocate an authorization code with a session
|
* Assocate an authorization code with a session
|
||||||
* @param int $sessionId The session ID
|
* @param int $sessionId The session ID
|
||||||
|
@ -39,13 +39,6 @@ interface SessionInterface
|
|||||||
*/
|
*/
|
||||||
public function associateRedirectUri($sessionId, $redirectUri);
|
public function associateRedirectUri($sessionId, $redirectUri);
|
||||||
|
|
||||||
/**
|
|
||||||
* Remove an associated redirect URI
|
|
||||||
* @param int $sessionId The session ID
|
|
||||||
* @return void
|
|
||||||
*/
|
|
||||||
public function removeRedirectUri($sessionId);
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Associate an access token with a session
|
* Associate an access token with a session
|
||||||
* @param int $sessionId The session ID
|
* @param int $sessionId The session ID
|
||||||
@ -70,13 +63,6 @@ interface SessionInterface
|
|||||||
*/
|
*/
|
||||||
public function associateRefreshToken($accessTokenId, $refreshToken);
|
public function associateRefreshToken($accessTokenId, $refreshToken);
|
||||||
|
|
||||||
/**
|
|
||||||
* Remove an associated refresh token from a session
|
|
||||||
* @param int $sessionId The session ID
|
|
||||||
* @return void
|
|
||||||
*/
|
|
||||||
public function removeRefreshToken($sessionId);
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Assocate an authorization code with a session
|
* Assocate an authorization code with a session
|
||||||
* @param int $sessionId The session ID
|
* @param int $sessionId The session ID
|
||||||
|
Loading…
Reference in New Issue
Block a user