UNPKG
openam-agent-custom
Version:
latest (1.2.0)
1.2.0
1.0.1
1.0.0
Customized ForgeRock AM Policy Agent for Node.js from Zoltan Tarcsay
openam-agent-custom
/
src
/
shield
/
shield.ts
9 lines
(6 loc)
•
288 B
text/typescript
View Raw
1
2
3
4
5
6
7
8
9
import
{
IncomingMessage
,
ServerResponse
}
from
'http'
;
import
{
PolicyAgent
}
from
'../policyagent/policy-agent'
;
import
{
SessionData
}
from
'./session-data'
;
export
interface
Shield
{
evaluate
(
req
:
IncomingMessage
,
res
:
ServerResponse
,
agent
:
PolicyAgent
):
Promise
<
SessionData
>; }