Function: jwt()
function jwt(request, context): Promise<HttpResponseInit>;
Defined in: functions/jwt.ts:18
Validates the x509AuthenticationHeaders and returns an object with a token, user information, and authentication information
Parameters
| Parameter | Type | Description |
|---|---|---|
request | HttpRequest | The HTTP Request |
context | InvocationContext | The InvocationContext for the Azure Function |
Returns
Promise<HttpResponseInit>
An object with the HTTP status and jsonBody with user/token information or error information