Page Contents

Home > @loopback/authorization > Enforcer > buildRequest

Enforcer.buildRequest() method

Extract the request from authorization context

Signature:

buildRequest(authorizationContext: AuthorizationContext): Promise<AuthorizationRequest>;

Parameters

Parameter Type Description
authorizationContext AuthorizationContext  

Returns:

Promise<AuthorizationRequest>