eZPublishCommunityProject(LegacyStack)  2013.6
oauth Namespace Reference

File containing the oauth/authorize view definition. More...

Detailed Description

File containing the oauth/authorize view definition.

This is the base exception for the eZ Publish oauth library.

This exception is thrown when the client did not provide any authentication information in the request.

This exception is thrown when a token is invalid.

This exception is thrown when a request is invalid.

This exception is thrown when a request is made with a token not repsresenting sufficient scope for the request to be accepted.

This exception is thrown when the accept token has expired, but can be renewed.

This is the base exception for triggering BAD REQUEST response.

This is the base exception for responsenses need authentication.

Parameters
string$_GET,[client_id]the client application identifier, as in ezpRestClient
string$_GET,[redirect_uri]the URI the view should redirect to in case of success
string$_GET,[response_type]the requested response type. Can be code_and_token, code, or token
string$_GET,[scope]the permissions scope the client requests (optional)
string$_GET,[state]Not implemented yet (optional)
Version
2013.6

An invalid request is the case when a required parameter is missing, when multiple methods of transferring the token is used, or when parameters are repeated.

Also this exception can be used when a token is expired but can be refreshed.