22 lines
348 B
PHP
22 lines
348 B
PHP
<?php
|
|
|
|
namespace oauth2\exceptions;
|
|
|
|
use oauth2\OAuth2Protocol;
|
|
|
|
/**
|
|
* Class InvalidOAuth2Request
|
|
* @package oauth2\exceptions
|
|
*/
|
|
final class InvalidOAuth2Request extends OAuth2BaseException
|
|
{
|
|
|
|
/**
|
|
* @return string
|
|
*/
|
|
public function getError()
|
|
{
|
|
return OAuth2Protocol::OAuth2Protocol_Error_InvalidRequest;
|
|
}
|
|
|
|
} |