mirror of
				https://github.com/elyby/oauth2-server.git
				synced 2025-05-31 14:12:07 +05:30 
			
		
		
		
	
		
			
				
	
	
		
			18 lines
		
	
	
		
			354 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			18 lines
		
	
	
		
			354 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
| <?php
 | |
| 
 | |
| namespace RelationalExample\Storage;
 | |
| 
 | |
| use League\OAuth2\Server\Storage\ScopeInterface;
 | |
| use League\OAuth2\Server\Storage\Adapter;
 | |
| 
 | |
| class ScopeStorage extends Adapter implements ScopeInterface
 | |
| {
 | |
|     /**
 | |
|      * {@inheritdoc}
 | |
|      */
 | |
|     public function get($scope, $grantType = null)
 | |
|     {
 | |
|         die(var_dump(__METHOD__, func_get_args()));
 | |
|     }
 | |
| }
 |