mirror of
				https://github.com/elyby/oauth2-server.git
				synced 2025-05-31 14:12:07 +05:30 
			
		
		
		
	First commit of relational example
This commit is contained in:
		
							
								
								
									
										17
									
								
								examples/relational/Storage/ScopeStorage.php
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										17
									
								
								examples/relational/Storage/ScopeStorage.php
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,17 @@ | ||||
| <?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())); | ||||
|     } | ||||
| } | ||||
		Reference in New Issue
	
	Block a user