Skip to main content

Function: selectToken()

function selectToken(state, ...params): undefined | string

Returns the authenticated user token

Parameters

state

The first argument, often a Redux root state object.

params

...[]

All additional arguments passed into the selector.

Returns

undefined | string

A derived value from the state.

Param

The BpSdk Redux store