adam-paterson / adam-paterson/oauth2-stripe

Add documentation for scopes?

未关闭
#5 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
PHP
星标
17
派生
4
PR 合并指标
30 天内没有已合并 PR

描述

Took a bit to figure out how to change these settings when running the OAuth request; actually even PHP League's base package doesn't mention this. I'll reach out them as well, but I had to look at other libraries to find the method: https://github.com/thephpleague/oauth2-linkedin#managing-scopes

```
$options = [
'scope' => ['abc','xyz'] // array or string
];

$authorizationUrl = $provider->getAuthorizationUrl($options);
```

Can be pretty important depending on what scopes you need to use with the OAuth + Stripe.

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。