mirror of
https://github.com/elyby/oauth2-server.git
synced 2025-05-31 14:12:07 +05:30
New entities, traits and interfaces
This commit is contained in:
17
src/Entities/Interfaces/ScopeEntityInterface.php
Normal file
17
src/Entities/Interfaces/ScopeEntityInterface.php
Normal file
@@ -0,0 +1,17 @@
|
||||
<?php
|
||||
namespace League\OAuth2\Server\Entities\Interfaces;
|
||||
|
||||
interface ScopeEntityInterface
|
||||
{
|
||||
/**
|
||||
* Get the scope's identifier
|
||||
* @return string
|
||||
*/
|
||||
public function getIdentifier();
|
||||
|
||||
/**
|
||||
* Set the scope's identifier
|
||||
* @param $identifier
|
||||
*/
|
||||
public function setIdentifier($identifier);
|
||||
}
|
||||
Reference in New Issue
Block a user