Search
Preparing search index...
The search index is not available
sealious
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
ReducingPolicy
Class ReducingPolicy
Hierarchy
Policy
ReducingPolicy
Or
And
Index
Constructors
constructor
Properties
params
policies
type_
name
Methods
_get
Restricting
Query
check
check
All
Policies
checker
Function
get
Restricting
Query
is
Item
Sensitive
allow
deny
from
Definition
Constructors
constructor
new
Reducing
Policy
(
params
:
PolicyDefinition
[]
)
:
ReducingPolicy
Parameters
params:
PolicyDefinition
[]
Returns
ReducingPolicy
Properties
params
params
:
any
policies
policies
:
Policy
[]
Static
type_
name
type_
name
:
string
Methods
Protected
Abstract
_get
Restricting
Query
_get
Restricting
Query
(
context
:
Context
)
:
Promise
<
Query
>
Parameters
context:
Context
Returns
Promise
<
Query
>
check
check
(
context
:
Context
, sealious_response
?:
SealiousResponse
)
:
Promise
<
PolicyDecision
|
null
>
Parameters
context:
Context
Optional
sealious_response:
SealiousResponse
Returns
Promise
<
PolicyDecision
|
null
>
check
All
Policies
check
All
Policies
(
context
:
Context
, response
?:
SealiousResponse
)
:
Promise
<
PolicyDecision
[]
>
Parameters
context:
Context
Optional
response:
SealiousResponse
Returns
Promise
<
PolicyDecision
[]
>
Abstract
checker
Function
checker
Function
(
context
:
Context
, sealious_response
?:
SealiousResponse
)
:
Promise
<
PolicyDecision
|
null
>
Parameters
context:
Context
Optional
sealious_response:
SealiousResponse
Returns
Promise
<
PolicyDecision
|
null
>
get
Restricting
Query
get
Restricting
Query
(
context
:
Context
)
:
Promise
<
Query
>
Parameters
context:
Context
Returns
Promise
<
Query
>
is
Item
Sensitive
is
Item
Sensitive
(
)
:
Promise
<
boolean
>
Returns
Promise
<
boolean
>
Static
allow
allow
(
reason
:
string
)
:
{
allowed
:
boolean
;
reason
:
string
}
Parameters
reason:
string
Returns
{
allowed
:
boolean
;
reason
:
string
}
allowed
:
boolean
reason
:
string
Static
deny
deny
(
reason
:
string
)
:
{
allowed
:
boolean
;
reason
:
string
}
Parameters
reason:
string
Returns
{
allowed
:
boolean
;
reason
:
string
}
allowed
:
boolean
reason
:
string
Static
from
Definition
from
Definition
(
definition
:
PolicyDefinition
)
:
Policy
Parameters
definition:
PolicyDefinition
Returns
Policy
Globals
Reducing
Policy
constructor
params
policies
type_
name
_get
Restricting
Query
check
check
All
Policies
checker
Function
get
Restricting
Query
is
Item
Sensitive
allow
deny
from
Definition
Generated using
TypeDoc