openstackid/app/libs/oauth2/exceptions/ScopeNotAllowedException.php

21 lines
353 B
PHP

<?php
namespace oauth2\exceptions;
use oauth2\OAuth2Protocol;
/**
* Class ScopeNotAllowedException
* @package oauth2\exceptions
*/
final class ScopeNotAllowedException extends OAuth2BaseException
{
/**
* @return string
*/
public function getError()
{
return OAuth2Protocol::OAuth2Protocol_Error_InvalidScope;
}
}