OAuth2BearerAuthorizer
Methods
Overrides: authorize
of BaseAuthorizer
.
Includes the access token from the session data into the Authorization
header as a Bearer token, e.g.:
Authorization: Bearer 234rtgjneroigne4
Arguments
-
data
:Object
-
The data that the session currently holds
-
block(headerName,headerContent)
:Function
-
The callback to call with the authorization data; will receive the header name and header content as arguments