bn.getBackgroundFetchToken
▸ getBackgroundFetchToken(): Promise
<SetFetchTokenOptions
>
description
Gets the custom login state that has been set. If not, the promise will be rejected.
example
const { token } = bn.getBackgroundFetchToken()
Returns
Promise
<SetFetchTokenOptions
>
Interface: SetFetchTokenOptions
Name | Type | Description |
---|---|---|
token | string | Custom login states |