Authorizer to perform role based checks for a principal.
Principal data type, the type must extend Principal
Principal
Readonly
A human readable name for this authorizer.
Check that a principal has a named role.
The current principal context.
The name of the role to check for.
true if the principal is authorised to use the name role, otherwise false.
true
false
Generated using TypeDoc
Authorizer to perform role based checks for a principal.
Param
Principal data type, the type must extend
Principal