2017 © Pedro Peláez
 

library oauth2-availity

Availity Provider for OAuth2 client

image

drewhammond/oauth2-availity

Availity Provider for OAuth2 client

  • Wednesday, February 21, 2018
  • by drewhammond
  • Repository
  • 1 Watchers
  • 1 Stars
  • 6 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

Availity Provider for OAuth 2.0 Client

Build Status License Latest Stable Version, (*1)

This package provides Availity OAuth 2.0 support for the PHP League's OAuth 2.0 Client., (*2)

Installation

To install, use composer:, (*3)

$ composer require drewhammond/oauth2-availity

Usage

The example below is taken from a Laravel project with the AVAILITY_CLIENT_ID and AVAILITY_CLIENT_SECRET defined in the project .env file., (*4)


// Instantiate Availity provider $provider = new \Drewhammond\OAuth2\Client\Provider\Availity( [ 'clientId' => getenv( 'AVAILITY_CLIENT_ID' ), 'clientSecret' => getenv( 'AVAILITY_CLIENT_SECRET' ), ] ); // Fetch access token using client_credentials grant (only grant type supported by Availity) $accessToken = $provider->getAccessToken( 'client_credentials' ); // Do something with your access token... $token = $accessToken->getToken(); $expires = $accessToken->getExpires();

Support

Please open a new issue if you run into any problems., (*5)

License

MIT License, (*6)

Copyright (c) 2018 Drew Hammond, (*7)

The Versions

21/02 2018

dev-master

9999999-dev https://github.com/drewhammond/oauth2-availity

Availity Provider for OAuth2 client

  Sources   Download

MIT

The Requires

 

The Development Requires

oauth oauth2 availity

21/02 2018

0.2.0

0.2.0.0 https://github.com/drewhammond/oauth2-availity

Availity Provider for OAuth2 client

  Sources   Download

MIT

The Requires

 

The Development Requires

oauth oauth2 availity

21/02 2018

0.1.0

0.1.0.0 https://github.com/drewhammond/oauth2-availity

Availity Provider for OAuth2 client

  Sources   Download

MIT

The Requires

 

The Development Requires

oauth oauth2 availity