Download the PHP package frankkessler/incontact-laravel-oauth2-rest without Composer
On this page you can find all versions of the php package frankkessler/incontact-laravel-oauth2-rest. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download frankkessler/incontact-laravel-oauth2-rest
More information about frankkessler/incontact-laravel-oauth2-rest
Files in frankkessler/incontact-laravel-oauth2-rest
Package incontact-laravel-oauth2-rest
Short Description An inContact REST api wrapper utilizing oAuth2
License MIT
Informations about the package incontact-laravel-oauth2-rest
INSTALLATION
To install this package, add the following to your composer.json file
LARAVEL 5 SPECIFIC INSTALLATION TASKS
Add the following to your config/app.php file in the providers array
Add the following to your config/app.php file in the aliases array
Run the following command to pull the project config file and database migration into your project
Run the migration
OPTIONAL INSTALLATION
Logging is enabled by default if using Laravel. If not, add the following to the $config parameter when initializing the Incontact class. (This class must implement the Psr\Log\LoggerInterface interface.)
TOKEN SETUP
Currently, this package only supports the username/password flow for oauth2.
To get started, you'll have to setup an Application in Incontact.
- Navigate to Manage -> API Applications
- Click "Create API Application"
- Select "Register Internal Application"
- Fill out the form keeping in mind that your OAUTH_CONSUMER_TOKEN will be [APPLICATION_NAME]@[VENDOR_NAME]
- Save and find your business unit if which will be your OAUTH_CONSUMER_SECRET.
Now that you have your Consumer Token and Consumer Secret, add them to your .env file:
EXAMPLES
AdminApi
Get Agents
ReportingApi
Get Call by Contact Id
All versions of incontact-laravel-oauth2-rest with dependencies
guzzlehttp/guzzle Version ~6.0
frankkessler/guzzle-oauth2-middleware Version 0.1.*
illuminate/http Version ~5.1
illuminate/routing Version ~5.1
illuminate/support Version ~5.1
illuminate/database Version ~5.1
psr/log Version ~1.0