-
Notifications
You must be signed in to change notification settings - Fork 0
JwtInterceptor
Richard edited this page Jan 6, 2018
·
2 revisions
The JwtInterceptor
intercepts HTTP requests and inserts an Authorization
header field into the request before it is sent to its target. The Authorization
header field is added as
Authorization: <type> <token>
where:
-
<type>
is configurable using theauthScheme
parameter and is set by default to'Bearer'
. Other schemes may be used such as'Basic'
or'Digest'
. -
<token>
is the string result obtained from observing the result of callingtokenGetter()
. This is the JWT token that the service will authorise the user using.