aego/oauth2-mailru

league/oauth2-client 的 Mail.ru 提供商

2.0 2017-03-25 09:47 UTC

This package is not auto-updated.

Last update: 2024-09-11 02:36:35 UTC


README

Build Status Latest Version License

本包提供了 Mail.ru 对 League 的 OAuth2 Client 的集成

安装

composer require aego/oauth2-mailru

使用

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