@keycloak/keycloak-admin-client 17.0.0-dev.25 → 17.0.0-dev.26

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,4 @@
1
+ export default interface AccessTokenAccess {
2
+ roles?: string[];
3
+ verify_caller?: boolean;
4
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ exports.__esModule = true;
3
+ //# sourceMappingURL=AccessTokenAccess.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AccessTokenAccess.js","sourceRoot":"","sources":["../../src/defs/AccessTokenAccess.ts"],"names":[],"mappings":""}
@@ -0,0 +1,8 @@
1
+ export default interface PermissionRepresentation {
2
+ claims?: {
3
+ [index: string]: string;
4
+ };
5
+ rsid?: string;
6
+ rsname?: string;
7
+ scopes?: string[];
8
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ exports.__esModule = true;
3
+ //# sourceMappingURL=PermissonRepresentation.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PermissonRepresentation.js","sourceRoot":"","sources":["../../src/defs/PermissonRepresentation.ts"],"names":[],"mappings":""}
@@ -0,0 +1,4 @@
1
+ import PermissionRepresentation from './PermissonRepresentation';
2
+ export default interface AccessTokenRepresentation {
3
+ permissions?: PermissionRepresentation[];
4
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ exports.__esModule = true;
3
+ //# sourceMappingURL=accessTokenAuthorization.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"accessTokenAuthorization.js","sourceRoot":"","sources":["../../src/defs/accessTokenAuthorization.ts"],"names":[],"mappings":""}
@@ -0,0 +1,3 @@
1
+ export default interface AccessTokenCertConf {
2
+ 'x5t#S256'?: string;
3
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ exports.__esModule = true;
3
+ //# sourceMappingURL=accessTokenCertConf.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"accessTokenCertConf.js","sourceRoot":"","sources":["../../src/defs/accessTokenCertConf.ts"],"names":[],"mappings":""}
@@ -0,0 +1,51 @@
1
+ import AccessTokenAccess from './AccessTokenAccess';
2
+ import AccessTokenCertConf from './accessTokenCertConf';
3
+ import AddressClaimSet from './addressClaimSet';
4
+ import { Category } from './resourceServerRepresentation';
5
+ export default interface AccessTokenRepresentation {
6
+ acr?: string;
7
+ address?: AddressClaimSet;
8
+ 'allowed-origins'?: string[];
9
+ at_hash?: string;
10
+ auth_time?: number;
11
+ authorization?: AccessTokenRepresentation;
12
+ azp?: string;
13
+ birthdate?: string;
14
+ c_hash?: string;
15
+ category?: Category;
16
+ claims_locales?: string;
17
+ cnf?: AccessTokenCertConf;
18
+ email?: string;
19
+ email_verified?: boolean;
20
+ exp?: number;
21
+ family_name?: string;
22
+ gender: string;
23
+ given_name?: string;
24
+ iat?: number;
25
+ iss?: string;
26
+ jti?: string;
27
+ locale?: string;
28
+ middle_name?: string;
29
+ name?: string;
30
+ nbf?: number;
31
+ nickname?: string;
32
+ nonce?: string;
33
+ otherClaims?: {
34
+ [index: string]: string;
35
+ };
36
+ phone_number?: string;
37
+ phone_number_verified?: boolean;
38
+ picture?: string;
39
+ preferred_username?: string;
40
+ profile?: string;
41
+ realm_access?: AccessTokenAccess;
42
+ s_hash?: string;
43
+ scope?: string;
44
+ session_state?: string;
45
+ sub?: string;
46
+ 'trusted-certs'?: string[];
47
+ typ?: string;
48
+ updated_at?: number;
49
+ website?: string;
50
+ zoneinfo?: string;
51
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ exports.__esModule = true;
3
+ //# sourceMappingURL=accessTokenRepresentation.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"accessTokenRepresentation.js","sourceRoot":"","sources":["../../src/defs/accessTokenRepresentation.ts"],"names":[],"mappings":""}
@@ -0,0 +1,8 @@
1
+ export default interface AddressClaimSet {
2
+ country?: string;
3
+ formatted?: string;
4
+ locality?: string;
5
+ postal_code?: string;
6
+ region?: string;
7
+ street_address?: string;
8
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ exports.__esModule = true;
3
+ //# sourceMappingURL=addressClaimSet.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"addressClaimSet.js","sourceRoot":"","sources":["../../src/defs/addressClaimSet.ts"],"names":[],"mappings":""}
@@ -0,0 +1,11 @@
1
+ import { DecisionEffect } from './policyRepresentation';
2
+ import PolicyResultRepresentation from './policyResultRepresentation';
3
+ import ResourceRepresentation from './resourceRepresentation';
4
+ import ScopeRepresentation from './scopeRepresentation';
5
+ export default interface EvaluationResultRepresentation {
6
+ resource?: ResourceRepresentation;
7
+ scopes?: ScopeRepresentation[];
8
+ policies?: PolicyResultRepresentation[];
9
+ status?: DecisionEffect;
10
+ allowedScopes?: ScopeRepresentation[];
11
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ exports.__esModule = true;
3
+ //# sourceMappingURL=evaluationResultRepresentation.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"evaluationResultRepresentation.js","sourceRoot":"","sources":["../../src/defs/evaluationResultRepresentation.ts"],"names":[],"mappings":""}
@@ -0,0 +1,9 @@
1
+ import AccessTokenRepresentation from './accessTokenRepresentation';
2
+ import EvaluationResultRepresentation from './evaluationResultRepresentation';
3
+ import { DecisionEffect } from './policyRepresentation';
4
+ export default interface PolicyEvaluationResponse {
5
+ results?: EvaluationResultRepresentation[];
6
+ entitlements?: boolean;
7
+ status?: DecisionEffect;
8
+ rpt?: AccessTokenRepresentation;
9
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ exports.__esModule = true;
3
+ //# sourceMappingURL=policyEvaluationResponse.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"policyEvaluationResponse.js","sourceRoot":"","sources":["../../src/defs/policyEvaluationResponse.ts"],"names":[],"mappings":""}
@@ -33,3 +33,4 @@ export interface AbstractPolicyRepresentation {
33
33
  export declare type PolicyEnforcementMode = 'ENFORCING' | 'PERMISSIVE' | 'DISABLED';
34
34
  export declare type DecisionStrategy = 'AFFIRMATIVE' | 'UNANIMOUS' | 'CONSENSUS';
35
35
  export declare type Logic = 'POSITIVE' | 'NEGATIVE';
36
+ export declare type Category = 'INTERNAL' | 'ACCESS' | 'ID' | 'ADMIN' | 'USERINFO';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@keycloak/keycloak-admin-client",
3
- "version": "17.0.0-dev.25",
3
+ "version": "17.0.0-dev.26",
4
4
  "description": "keycloak admin client",
5
5
  "main": "lib/index.js",
6
6
  "files": [