for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace kalanis\OAuth2\Exceptions;
use Exception;
/**
* UnauthorizedClientException
* @package kalanis\OAuth2\Exceptions
*/
class UnauthorizedClientException extends OAuthException
{
protected string $key = 'unauthorized_client';
* @param string $message
* @param Exception|null $previous
public function __construct($message = 'The grant type is not authorized for this client', Exception $previous = null)
parent::__construct($message, 401, $previous);
}