Function: getToken()
function getToken(cluster: string): any
Retrieves the authentication token for a given cluster. If a custom getToken method is defined in the Redux store, it will be used. Otherwise, the token is retrieved from local storage.
Parameters
Parameter | Type | Description |
---|---|---|
cluster | string | The name of the cluster. |
Returns
any
The authentication token for the specified cluster, or undefined if not set.