capacitor-plugin-tencent-qq
v0.0.17
Published
QQ互联
Readme
capacitor-plugin-tencent-qq
QQ互联
Install
npm install capacitor-plugin-tencent-qq
npx cap syncAPI
login(...)
login(option: LoginOption) => Promise<LoginResult | null>| Param | Type |
| ------------ | --------------------------------------------------- |
| option | LoginOption |
Returns: Promise<LoginResult | null>
isQQInstalled()
isQQInstalled() => Promise<IsQQInstalledResult>Returns: Promise<IsQQInstalledResult>
Interfaces
LoginResult
| Prop | Type |
| -------------------------- | ------------------- |
| ret | number |
| openid | string |
| access_token | string |
| pay_token | string |
| expires_in | number |
| pf | string |
| pfkey | string |
| msg | string |
| login_cost | number |
| query_authority_cost | number |
| authority_cost | number |
| expires_time | number |
LoginOption
| Prop | Type |
| ---------- | ------------------------------------------- |
| type | 'sso' | 'server-side' | null |
IsQQInstalledResult
| Prop | Type |
| --------------- | -------------------- |
| installed | boolean |
