Optionally override the "forbidden" error class thrown by the authorize*
methods. Defaults to ForbiddenError.
Optionally override the "not found" error class thrown by authorize
.
Defaults to NotFoundError.
The action used by the authorize
method to determine whether an
authorization failure should raise a NotFoundError
or a ForbiddenError
.
Optional configuration for the
Oso.constructor
.