Functions
addCookies | I Adds cookies to the custom header. |
authenticateResource | I Uses for declarative auth design, where the authentication/authorization decision is taken
by reading the auth annotations provided in service/resource and the |
addCookies
function addCookies(ClientConfiguration config)
Isolated Function
Adds cookies to the custom header.
Parameters
- config ClientConfiguration
Represents the cookies to be added
authenticateResource
function authenticateResource(Service serviceRef)
Isolated Function
Uses for declarative auth design, where the authentication/authorization decision is taken
by reading the auth annotations provided in service/resource and the Authorization
header of request.
Parameters
- serviceRef Service
The service reference where the resource locates