Page Contents

Home > @loopback/authorization > AuthorizationOptions > defaultDecision

AuthorizationOptions.defaultDecision property

Default decision if all authorizers vote for ABSTAIN If not set, default to AuthorizationDecision.DENY

Signature:

defaultDecision?: AuthorizationDecision.DENY | AuthorizationDecision.ALLOW;