mirror of
				https://github.com/elyby/oauth2-server.git
				synced 2025-05-31 14:12:07 +05:30 
			
		
		
		
	Removed Mac token type for now
This commit is contained in:
		| @@ -1,23 +0,0 @@ | ||||
| <?php | ||||
| /** | ||||
|  * OAuth 2.0 MAC Token Type | ||||
|  * | ||||
|  * @package     league/oauth2-server | ||||
|  * @author      Alex Bilbie <hello@alexbilbie.com> | ||||
|  * @copyright   Copyright (c) Alex Bilbie | ||||
|  * @license     http://mit-license.org/ | ||||
|  * @link        https://github.com/thephpleague/oauth2-server | ||||
|  */ | ||||
|  | ||||
| namespace League\OAuth2\Server\TokenType; | ||||
|  | ||||
| class Mac extends AbstractTokenType implements TokenTypeInterface | ||||
| { | ||||
|     /** | ||||
|      * {@inheritdoc} | ||||
|      */ | ||||
|     public function generateResponse() | ||||
|     { | ||||
|         throw new \RuntimeException('MAC tokens are not currently supported'); | ||||
|     } | ||||
| } | ||||
		Reference in New Issue
	
	Block a user