跳转到内容

WeixinAuthProvider

WeixinAuthProvider 是微信登录方式中 provider 类

定义

继承自 Provider

返回值

wilddog.auth.Credential



定义

string


定义

credential(arg1, arg2)

参数

参数名 说明
arg1 string 类型,accessToken 的值
arg2 string 类型,openId 的值


定义

addScope(scope)

参数

参数名 说明
scope string 类型,微信 OAuth 的 scope 值