【文件属性】:
文件名称:oauth2-thingiverse:PHP League的OAuth 2.0客户端的Thingiverse提供程序
文件大小:12KB
文件格式:ZIP
更新时间:2021-03-04 19:41:49
PHP
用于OAuth 2.0客户端的Thingiverse提供程序
该软件包为PHP League的提供了Thingiverse OAuth 2.0支持。
要求
支持以下版本PHP。
PHP 7.3
PHP 7.4
安装
要安装,请使用作曲家:
composer require freshworkx/oauth2-thingiverse
或将以下内容添加到您的composer.json文件中。
{
" require " : {
" freshworkx/oauth2-thingiverse " : " ^0.0.1 "
}
}
用法
用法与The League的OAuth客户端相同,使用\Freshworkx\OAuth2\Client\Provider\Thingiverse作为提供者。
授权码流程
<?php
session_start ();
r
【文件预览】:
oauth2-thingiverse-action-test
----composer.json(843B)
----phpunit.xml(1KB)
----.github()
--------workflows()
----tests()
--------src()
----LICENSE(1KB)
----CONTRIBUTING.md(2KB)
----src()
--------Provider()
----.gitignore(75B)
----CHANGELOG.md(57B)
----README.md(3KB)