aego/oauth2-mailru

Mail.ru provider for league/oauth2-client

2.0 2017-03-25 09:47 UTC

This package is not auto-updated.

Last update: 2024-12-18 04:01:32 UTC


README

Build Status Latest Version License

This package provides Mail.ru integration for OAuth2 Client by the League.

Installation

composer require aego/oauth2-mailru

Usage

$provider = new Aego\OAuth2\Client\Provider\Mailru([
    'clientId' => '123456',
    'clientSecret' => 'f23ccd066f8236c6f97a2a62d3f9f9f5',
    'redirectUri' => 'https://example.org/oauth-endpoint',
]);