Download the PHP package bybrand/oauth2-zohodesk without Composer
On this page you can find all versions of the php package bybrand/oauth2-zohodesk. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download bybrand/oauth2-zohodesk
More information about bybrand/oauth2-zohodesk
Files in bybrand/oauth2-zohodesk
Package oauth2-zohodesk
Short Description Zoho Desk Provider for PHP League's OAuth 2.0 Client
License MIT
Informations about the package oauth2-zohodesk
Zoho Desk Provider for PHP OAuth 2.0 Client
This package provides Zoho Desk OAuth 2.0 support for the PHP League's OAuth 2.0 Client.Initially, this module was used for the integration of Bybrand with Zoho Desk and is in production (needs improvement).
First, you can do get Client ID and Client Secret in "Zoho Developer console". Full documentation, can be see in Zoho documentation.
Installation
Usage
This is a instruction base to get the token, and in then, to save in your database to future request. The method getResourceOwner
return your first organization, via /api/v1/organizations
. See more in Zoho Desk documentation Get all organizations
You do not need get getResourceOwner
if you not need.
Please, for more information see the PHP League's general usage examples.
Refreshing a Token
Zoho Desk token refresh is sent only with accessType
set to offline. It is important to note that the refresh token is only returned on the first request after this it will be null
.
You can do revoke access to get the token refresh in a second request. Visit https://accounts.zoho.com and navigate to Connected Apps.
See more details in Generating Access Token From a Refresh Token Zoho Desk Docs.
Testing
or individual method test, by group.
License
The MIT License (MIT). Please see License File for more information.