Download the PHP package jampire/oauth2-appid without Composer
On this page you can find all versions of the php package jampire/oauth2-appid. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download jampire/oauth2-appid
More information about jampire/oauth2-appid
Files in jampire/oauth2-appid
Package oauth2-appid
Short Description IBM App ID OAuth 2.0 Client Provider for The PHP League OAuth2 Client
License MIT
Homepage https://github.com/Jampire/oauth2-appid
Informations about the package oauth2-appid
IBM App ID Provider for OAuth 2.0 Client
This package provides IBM App ID OAuth 2.0 support for the PHP League's OAuth 2.0 Client. Please, read this page for full documentation.
Installation
To install, use composer:
Usage
Usage is the same as The League's OAuth client, using \Jampire\OAuth2\Client\Provider\AppIdProvider
as the provider.
Use baseAuthUri
to specify the IBM App ID base server URL. You can lookup the correct value from the Application settings of your IBM App ID service under oAuthServerUrl
without tenantId
section, eg. https://us-south.appid.cloud.ibm.com/oauth/v4
.
Use tenantId
to specify the IBM App ID tenant ID. You can lookup the correct value from the Application settings of your IBM App ID service under tenantId
, eg. abcd-efgh-1234-5678-mnop
.
All other values you can find in Application settings of your IBM App ID service.
Do not forget to register your redirect URL in your IBM App ID whitelist. Please, read IBM App ID documentation.
Authorization Code Flow
Examples
- Code examples.
- Symfony Integration example.
Testing
Contributing
Please see CONTRIBUTING for details.
Credits
License
The MIT License (MIT). Please see License File for more information.