bn.setBackgroundFetchToken
▸ setBackgroundFetchToken(options): Promise<{}>
description Set the custom login state, in the periodic pull data, to make third-party server verification request authorized.
example
await bn.setBackgroundFetchToken({ token: 'token' })
Parameters
| Name | Type |
|---|---|
options | SetFetchTokenOptions |
Returns
Promise<{}>
Interface: SetFetchTokenOptions
| Name | Type | Description |
|---|---|---|
| token | string | Custom login states |