zibri
Preparing search index...
auth/decorators/has-role.decorator
HasRoleFn
Interface HasRoleFn
The type of the has role decorator.
interface
HasRoleFn
{
skip
:
()
=>
MethodDecorator
&
ClassDecorator
;
(
allowedRoles
:
string
[]
,
allowedStrategies
?:
AuthStrategies
,
)
:
MethodDecorator
&
ClassDecorator
;
}
HasRoleFn
(
allowedRoles
:
string
[]
,
allowedStrategies
?:
AuthStrategies
,
)
:
MethodDecorator
&
ClassDecorator
Parameters
allowedRoles
:
string
[]
Optional
allowedStrategies
:
AuthStrategies
Returns
MethodDecorator
&
ClassDecorator
Index
Properties
skip
Properties
skip
skip
:
()
=>
MethodDecorator
&
ClassDecorator
This skips the has role validation.
Settings
Member Visibility
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
skip
zibri
Loading...
The type of the has role decorator.