Skip to main content

@mapgear/geoapps-core > HttpClient > SetBearerToken

HttpClient.SetBearerToken() method

Set a bearer token that is used for authenticating the requests that are performed by the HttpClient

Signature:
SetBearerToken(token: string): void;

Parameters

ParameterTypeDescription
tokenstringThe Bearer-token that is added
Returns:

void