nascom/oauth2-teamleader

PHP League OAuth2-Client 的 Teamleader OAuth 2.0 客户端提供者

0.1.2 2021-07-01 11:57 UTC

This package is auto-updated.

Last update: 2024-08-29 04:48:34 UTC


README

本软件包为 PHP League 的 OAuth 2.0 客户端 提供了 Teamleader OAuth 2.0 支持。

安装

composer require nascom/oauth2-teamleader

使用

请参阅League 文档。此软件包提供了一个特定的 Teamleader 提供者,您可以使用它代替通用提供者。

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