Skip to main content

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

ParameterTypeDescription
requestHttpRequestThe HTTP Request
contextInvocationContextThe InvocationContext for the Azure Function

Returns

Promise<HttpResponseInit>

An object with the HTTP status and jsonBody with user/token information or error information