QQAuthProvider
QQAuthProvider 是 QQ 登录方式中 provider 类
new QQAuthProvider()
Section titled “new QQAuthProvider()”定义
继承自 Provider
providerId
Section titled “providerId”定义
stringcredential
Section titled “credential”定义
credential(arg1, arg2)参数
| 参数名 | 说明 |
|---|---|
| arg1 | string 类型,accessToken 的值 |
| arg2 | string 类型,openId 的值 |
返回值
addScope
Section titled “addScope”定义
addScope(scope)参数
| 参数名 | 说明 |
|---|---|
| scope | string 类型,QQ OAuth 的 scope 值 |