mirror of
https://github.com/elyby/oauth2-server.git
synced 2024-11-26 16:52:04 +05:30
Fixed line size errors
This commit is contained in:
parent
11c0a45bfb
commit
cc23522b49
@ -11,13 +11,17 @@ class OAuthServerException extends Exception {}
|
|||||||
class Server
|
class Server
|
||||||
{
|
{
|
||||||
protected $errors = array(
|
protected $errors = array(
|
||||||
'invalid_request' => 'The request is missing a required parameter, includes an invalid parameter value, includes a parameter more than once, or is otherwise malformed.',
|
'invalid_request' => 'The request is missing a required parameter, includes an invalid parameter value,
|
||||||
|
includes a parameter more than once, or is otherwise malformed.',
|
||||||
'unauthorized_client' => 'The client is not authorized to request an access token using this method.',
|
'unauthorized_client' => 'The client is not authorized to request an access token using this method.',
|
||||||
'access_denied' => 'The resource owner or authorization server denied the request.',
|
'access_denied' => 'The resource owner or authorization server denied the request.',
|
||||||
'unsupported_response_type' => 'The authorization server does not support obtaining an access token using this method.',
|
'unsupported_response_type' => 'The authorization server does not support obtaining an access token using this
|
||||||
|
method.',
|
||||||
'invalid_scope' => 'The requested scope is invalid, unknown, or malformed.',
|
'invalid_scope' => 'The requested scope is invalid, unknown, or malformed.',
|
||||||
'server_error' => 'The authorization server encountered an unexpected condition which prevented it from fulfilling the request.',
|
'server_error' => 'The authorization server encountered an unexpected condition which prevented it from
|
||||||
'temporarily_unavailable' => 'The authorization server is currently unable to handle the request due to a temporary overloading or maintenance of the server.'
|
fulfilling the request.',
|
||||||
|
'temporarily_unavailable' => 'The authorization server is currently unable to handle the request due to a
|
||||||
|
temporary overloading or maintenance of the server.'
|
||||||
);
|
);
|
||||||
|
|
||||||
public function __construct()
|
public function __construct()
|
||||||
|
Loading…
Reference in New Issue
Block a user