Skip to main content

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#

NameTypeDescription
tokenstringCustom login states