AND
, OR
.
Name | Type | Description |
---|---|---|
userScopes | string[] | All scopes returned in JWT for specific user |
userHasScopes | (scopes: string[] | string, logicOperator?: ‘AND’ | ‘OR’) => boolean | Function used to check if logged user has specific scope or list of scopes connected by logicOperator. By default the logicOperator is OR |
'signing'
scope
'signing'
and 'creating'
scopes
'signing'
or 'creating'
scopes