1.0.0-rc.13 • Published 3 years ago
@ngx-toolset/api-token-interceptor v1.0.0-rc.13
@ngx-toolset/api-token-interceptor
Table of Contents
Features
- Adds an
Authorizationheader to an HTTP request
Hint: The features mentioned above only work when using Angular HttpClient.
Installation
ng add @ngx-toolset/api-token-interceptorUsage
Provide Injection Tokens
Provide proper value for API_URL_REGEX and BEARER_TOKEN_CALLBACK_FN in your AppModule.
Injection Tokens
API_URL_REGEX
Only HTTP requests with URLs matching the Regex will receive an Authorization HTTP header.
BEARER_TOKEN_CALLBACK_FN
This callback is used to build the value of the Authorization header.
1.0.0-rc.13
3 years ago
1.0.0-rc.12
3 years ago
1.0.0-rc.11
3 years ago
1.0.0-rc.10
4 years ago
1.0.0-rc.9
4 years ago
1.0.0-rc.8
4 years ago
1.0.0-rc.7
4 years ago
1.0.0-rc.6
4 years ago
1.0.0-rc.5
4 years ago
1.0.0-rc.4
4 years ago
1.0.0-rc.3
4 years ago
1.0.0-rc.2
4 years ago
1.0.0-rc.1
4 years ago
1.0.0-rc.0
4 years ago
0.0.7-alpha.0
4 years ago
0.0.6
4 years ago
0.0.5
4 years ago
0.0.4
4 years ago
0.0.3
4 years ago
0.0.2
4 years ago
0.0.1
4 years ago