Page Contents

Home > @loopback/authorization > Enforcer

Enforcer interface

An enforcer of authorization policies

Signature:

export interface Enforcer 

Methods

Method Description

buildRequest(authorizationContext)

Extract the request from authorization context

enforce(request)

Decide if the request can be granted access