mirror of
https://github.com/elyby/oauth2-server.git
synced 2026-04-12 17:07:14 +05:30
Added isExpired method
This commit is contained in:
@@ -76,4 +76,10 @@ interface TokenInterface
|
||||
* @return ScopeEntityInterface[]
|
||||
*/
|
||||
public function getScopes();
|
||||
|
||||
/**
|
||||
* Has the token expired?
|
||||
* @return bool
|
||||
*/
|
||||
public function isExpired();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user