forked from ForgeRock/node-openam-agent
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
improves the code based on PR comments
- Loading branch information
Zoltan Tarcsay
committed
Aug 30, 2018
1 parent
51a77fd
commit c5b4c51
Showing
16 changed files
with
61 additions
and
53 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
export interface AmPolicyDecisionRequest { | ||
resources: string[]; | ||
application: string; | ||
subject: { ssoToken: string }; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
export interface AmPolicyDecision { | ||
resource: string; | ||
actions: { [ action: string ]: boolean; }; | ||
attributes: { [ attribute: string ]: string[]; }; | ||
advices: any; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
export interface AmServerInfo { | ||
cookieName: string; | ||
domains: string[]; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,20 @@ | ||
export * from './am-client'; | ||
export * from './amclient/am-client'; | ||
export * from './amclient/am-policy-decision'; | ||
export * from './amclient/am-policy-decision-request'; | ||
export * from './amclient/am-server-info'; | ||
export * from './cache/cache'; | ||
export * from './cache/in-memory-cache'; | ||
export * from './error/invalid-session-error'; | ||
export * from './error/shield-evaluation-error'; | ||
export * from './policy-agent'; | ||
export * from './policy-agent-options'; | ||
export * from './policyagent/policy-agent'; | ||
export * from './policyagent/policy-agent-options'; | ||
export * from './shield/basic-auth-shield'; | ||
export * from './shield/cookie-shield'; | ||
export * from './shield/oauth2-shield'; | ||
export * from './shield/policy-shield'; | ||
export * from './shield/session-data'; | ||
export * from './shield/shield'; | ||
export * from './utils/deferred'; | ||
export * from './utils/http-utils'; | ||
export * from './utils/logger'; | ||
export * from './utils/xml-utils'; |
4 changes: 2 additions & 2 deletions
4
src/policy-agent-options.ts → src/policyagent/policy-agent-options.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 3 additions & 3 deletions
6
src/policy-agent.spec.ts → src/policyagent/policy-agent.spec.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters