Skip to content

Edenred OAuth 2.0 Client Provider for The PHP League OAuth2-Client

License

Notifications You must be signed in to change notification settings

jzecca/oauth2-edenred

Repository files navigation

Edenred Provider for OAuth 2.0 Client

Build Status Coverage

This package provides Edenred Connect OAuth 2.0 support for the PHP League's OAuth 2.0 Client.

Installation

To install, use composer:

composer require jzecca/oauth2-edenred

Usage

Usage is the same as The League's OAuth client, using \Jzecca\OAuth2\Client\Provider\Edenred as the provider.

Available Options

The Edenred provider has the following options:

Name Type Default Description
locale string Gives a hint about the desired display language of the login UI
loginHint string Pre-fills the username field on the login page
sandbox bool false Uses the sandbox API if set to true
scopes array [] Adds one or more registered scopes
tenant string Passes a tenant name to the user service

Testing

Tests can be run with:

composer test

Code style can be fixed with:

composer fix

About

Edenred OAuth 2.0 Client Provider for The PHP League OAuth2-Client

Topics

Resources

License

Stars

Watchers

Forks

Languages