Skip to content

mailXpert/oauth2-mailxpert

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mailxpert Provider for OAuth 2.0 Client

Packagist Software License Build Status Coverage Status Quality Score Total Downloads

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

Installation

To install, use composer:

composer require mailxpert/oauth2-mailxpert

Usage

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

Authorization Code Flow

$provider = new Mailxpert\OAuth2\Client\Provider\Mailxpert([
    'clientId'          => '{mailxpert-client-id}',
    'clientSecret'      => '{mailxpert-client-secret}',
    'redirectUri'       => 'https://example.com/redirect-url'
]);

Testing

$ ./vendor/bin/phpunit

Credits

License

The MIT License (MIT). Please see License File for more information.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages