A RequestInterceptor that adds Authorization header in the request headers before sending it to the server. The implementation focuses on Basic authorization, which consists in choosing a scheme (e.g., Bearer) and a token/value e.g., my token).
Authorization
Basic
Bearer
my token
The header property defaults to Authorization.
header
Generated using TypeDoc
A RequestInterceptor that adds
Authorizationheader in the request headers before sending it to the server. The implementation focuses onBasicauthorization, which consists in choosing a scheme (e.g.,Bearer) and a token/value e.g.,my token).The
headerproperty defaults to Authorization.