@faable/auth-js - v3.1.0
GitHub
npm
Preparing search index...
hasRoles
Function hasRoles
hasRoles
(
claims
:
WithRoles
,
required
:
string
|
string
[]
)
:
boolean
True when the claims carry EVERY role name in
required
.
Parameters
claims
:
WithRoles
required
:
string
|
string
[]
Returns
boolean
Settings
Member Visibility
Inherited
External
Theme
OS
Light
Dark
GitHub
npm
@faable/auth-js - v3.1.0
Loading...
True when the claims carry EVERY role name in
required.