oci-identitydataplane 2.10.0
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.
- package/LICENSE.txt +89 -0
- package/NOTICE.txt +1 -0
- package/README.md +22 -0
- package/THIRD_PARTY_LICENSES.txt +1521 -0
- package/index.d.ts +20 -0
- package/index.js +43 -0
- package/index.js.map +1 -0
- package/lib/client.d.ts +64 -0
- package/lib/client.js +183 -0
- package/lib/client.js.map +1 -0
- package/lib/model/accessible-compartment-request.d.ts +27 -0
- package/lib/model/accessible-compartment-request.js +57 -0
- package/lib/model/accessible-compartment-request.js.map +1 -0
- package/lib/model/accessible-compartment-response.d.ts +23 -0
- package/lib/model/accessible-compartment-response.js +61 -0
- package/lib/model/accessible-compartment-response.js.map +1 -0
- package/lib/model/association-authorization-request.d.ts +23 -0
- package/lib/model/association-authorization-request.js +61 -0
- package/lib/model/association-authorization-request.js.map +1 -0
- package/lib/model/auth-service-user.d.ts +38 -0
- package/lib/model/auth-service-user.js +29 -0
- package/lib/model/auth-service-user.js.map +1 -0
- package/lib/model/authenticate-client-details.d.ts +24 -0
- package/lib/model/authenticate-client-details.js +29 -0
- package/lib/model/authenticate-client-details.js.map +1 -0
- package/lib/model/authenticate-client-result.d.ts +27 -0
- package/lib/model/authenticate-client-result.js +55 -0
- package/lib/model/authenticate-client-result.js.map +1 -0
- package/lib/model/authenticate-user-result.d.ts +30 -0
- package/lib/model/authenticate-user-result.js +29 -0
- package/lib/model/authenticate-user-result.js.map +1 -0
- package/lib/model/authentication-policy.d.ts +31 -0
- package/lib/model/authentication-policy.js +57 -0
- package/lib/model/authentication-policy.js.map +1 -0
- package/lib/model/authentication-principal.d.ts +27 -0
- package/lib/model/authentication-principal.js +55 -0
- package/lib/model/authentication-principal.js.map +1 -0
- package/lib/model/authentication-request.d.ts +30 -0
- package/lib/model/authentication-request.js +29 -0
- package/lib/model/authentication-request.js.map +1 -0
- package/lib/model/authorization-request.d.ts +45 -0
- package/lib/model/authorization-request.js +71 -0
- package/lib/model/authorization-request.js.map +1 -0
- package/lib/model/bad-user-state-authenticate-user-result.d.ts +44 -0
- package/lib/model/bad-user-state-authenticate-user-result.js +36 -0
- package/lib/model/bad-user-state-authenticate-user-result.js.map +1 -0
- package/lib/model/claim.d.ts +30 -0
- package/lib/model/claim.js +29 -0
- package/lib/model/claim.js.map +1 -0
- package/lib/model/client-credentials-response.d.ts +30 -0
- package/lib/model/client-credentials-response.js +43 -0
- package/lib/model/client-credentials-response.js.map +1 -0
- package/lib/model/common-principal.d.ts +27 -0
- package/lib/model/common-principal.js +55 -0
- package/lib/model/common-principal.js.map +1 -0
- package/lib/model/compartment-metadata.d.ts +31 -0
- package/lib/model/compartment-metadata.js +35 -0
- package/lib/model/compartment-metadata.js.map +1 -0
- package/lib/model/compartment.d.ts +49 -0
- package/lib/model/compartment.js +53 -0
- package/lib/model/compartment.js.map +1 -0
- package/lib/model/context-variable.d.ts +37 -0
- package/lib/model/context-variable.js +37 -0
- package/lib/model/context-variable.js.map +1 -0
- package/lib/model/cost-tracking-tag.d.ts +34 -0
- package/lib/model/cost-tracking-tag.js +47 -0
- package/lib/model/cost-tracking-tag.js.map +1 -0
- package/lib/model/credential-authenticator-info.d.ts +54 -0
- package/lib/model/credential-authenticator-info.js +29 -0
- package/lib/model/credential-authenticator-info.js.map +1 -0
- package/lib/model/derived-key-response.d.ts +27 -0
- package/lib/model/derived-key-response.js +55 -0
- package/lib/model/derived-key-response.js.map +1 -0
- package/lib/model/entity-status.d.ts +32 -0
- package/lib/model/entity-status.js +29 -0
- package/lib/model/entity-status.js.map +1 -0
- package/lib/model/filter-group-membership-details.d.ts +27 -0
- package/lib/model/filter-group-membership-details.js +55 -0
- package/lib/model/filter-group-membership-details.js.map +1 -0
- package/lib/model/filter-group-membership-result.d.ts +27 -0
- package/lib/model/filter-group-membership-result.js +55 -0
- package/lib/model/filter-group-membership-result.js.map +1 -0
- package/lib/model/generate-scoped-access-token-details.d.ts +29 -0
- package/lib/model/generate-scoped-access-token-details.js +29 -0
- package/lib/model/generate-scoped-access-token-details.js.map +1 -0
- package/lib/model/identity-provider.d.ts +66 -0
- package/lib/model/identity-provider.js +38 -0
- package/lib/model/identity-provider.js.map +1 -0
- package/lib/model/index.d.ts +102 -0
- package/lib/model/index.js +125 -0
- package/lib/model/index.js.map +1 -0
- package/lib/model/j-wk.d.ts +42 -0
- package/lib/model/j-wk.js +29 -0
- package/lib/model/j-wk.js.map +1 -0
- package/lib/model/on-behalf-of-request.d.ts +36 -0
- package/lib/model/on-behalf-of-request.js +29 -0
- package/lib/model/on-behalf-of-request.js.map +1 -0
- package/lib/model/password-policy.d.ts +46 -0
- package/lib/model/password-policy.js +29 -0
- package/lib/model/password-policy.js.map +1 -0
- package/lib/model/password-reset-authentication-request.d.ts +26 -0
- package/lib/model/password-reset-authentication-request.js +29 -0
- package/lib/model/password-reset-authentication-request.js.map +1 -0
- package/lib/model/permission-context.d.ts +27 -0
- package/lib/model/permission-context.js +65 -0
- package/lib/model/permission-context.js.map +1 -0
- package/lib/model/permission.d.ts +22 -0
- package/lib/model/permission.js +29 -0
- package/lib/model/permission.js.map +1 -0
- package/lib/model/principal.d.ts +31 -0
- package/lib/model/principal.js +61 -0
- package/lib/model/principal.js.map +1 -0
- package/lib/model/refresh-request.d.ts +26 -0
- package/lib/model/refresh-request.js +29 -0
- package/lib/model/refresh-request.js.map +1 -0
- package/lib/model/resource-principal-session-token-request.d.ts +30 -0
- package/lib/model/resource-principal-session-token-request.js +29 -0
- package/lib/model/resource-principal-session-token-request.js.map +1 -0
- package/lib/model/security-token.d.ts +22 -0
- package/lib/model/security-token.js +29 -0
- package/lib/model/security-token.js.map +1 -0
- package/lib/model/tenant-not-found-authenticate-user-result.d.ts +26 -0
- package/lib/model/tenant-not-found-authenticate-user-result.js +29 -0
- package/lib/model/tenant-not-found-authenticate-user-result.js.map +1 -0
- package/lib/model/tenant.d.ts +30 -0
- package/lib/model/tenant.js +29 -0
- package/lib/model/tenant.js.map +1 -0
- package/lib/model/thick-authorization-response.d.ts +42 -0
- package/lib/model/thick-authorization-response.js +29 -0
- package/lib/model/thick-authorization-response.js.map +1 -0
- package/lib/model/thin-association-authorization-response.d.ts +38 -0
- package/lib/model/thin-association-authorization-response.js +69 -0
- package/lib/model/thin-association-authorization-response.js.map +1 -0
- package/lib/model/thin-authorization-response.d.ts +29 -0
- package/lib/model/thin-authorization-response.js +57 -0
- package/lib/model/thin-authorization-response.js.map +1 -0
- package/lib/model/user-not-found-authenticate-user-result.d.ts +30 -0
- package/lib/model/user-not-found-authenticate-user-result.js +29 -0
- package/lib/model/user-not-found-authenticate-user-result.js.map +1 -0
- package/lib/model/user.d.ts +38 -0
- package/lib/model/user.js +29 -0
- package/lib/model/user.js.map +1 -0
- package/lib/model/valid-authenticate-user-result.d.ts +31 -0
- package/lib/model/valid-authenticate-user-result.js +57 -0
- package/lib/model/valid-authenticate-user-result.js.map +1 -0
- package/lib/model/x509-federation-request.d.ts +34 -0
- package/lib/model/x509-federation-request.js +29 -0
- package/lib/model/x509-federation-request.js.map +1 -0
- package/lib/request/generate-scoped-access-token-request.d.ts +23 -0
- package/lib/request/generate-scoped-access-token-request.js +15 -0
- package/lib/request/generate-scoped-access-token-request.js.map +1 -0
- package/lib/request/index.d.ts +14 -0
- package/lib/request/index.js +15 -0
- package/lib/request/index.js.map +1 -0
- package/lib/response/generate-scoped-access-token-response.d.ts +25 -0
- package/lib/response/generate-scoped-access-token-response.js +15 -0
- package/lib/response/generate-scoped-access-token-response.js.map +1 -0
- package/lib/response/index.d.ts +14 -0
- package/lib/response/index.js +15 -0
- package/lib/response/index.js.map +1 -0
- package/package.json +29 -0
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Identity Service
|
|
4
|
+
* API for the Identity Dataplane
|
|
5
|
+
* OpenAPI spec version: v1
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) 2020, 2021, Oracle and/or its affiliates. All rights reserved.
|
|
12
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
13
|
+
*/
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
exports.AuthServiceUser = void 0;
|
|
16
|
+
var AuthServiceUser;
|
|
17
|
+
(function (AuthServiceUser) {
|
|
18
|
+
function getJsonObj(obj) {
|
|
19
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
20
|
+
return jsonObj;
|
|
21
|
+
}
|
|
22
|
+
AuthServiceUser.getJsonObj = getJsonObj;
|
|
23
|
+
function getDeserializedJsonObj(obj) {
|
|
24
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
25
|
+
return jsonObj;
|
|
26
|
+
}
|
|
27
|
+
AuthServiceUser.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
28
|
+
})(AuthServiceUser = exports.AuthServiceUser || (exports.AuthServiceUser = {}));
|
|
29
|
+
//# sourceMappingURL=auth-service-user.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"auth-service-user.js","sourceRoot":"","sources":["../../../../../lib/identitydataplane/lib/model/auth-service-user.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AA4BH,IAAiB,eAAe,CAW/B;AAXD,WAAiB,eAAe;IAC9B,SAAgB,UAAU,CAAC,GAAoB;QAC7C,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,0BAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAoB;QACzD,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,sCAAsB,yBAIrC,CAAA;AACH,CAAC,EAXgB,eAAe,GAAf,uBAAe,KAAf,uBAAe,QAW/B"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Identity Service
|
|
3
|
+
* API for the Identity Dataplane
|
|
4
|
+
* OpenAPI spec version: v1
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) 2020, 2021, Oracle and/or its affiliates. All rights reserved.
|
|
11
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
12
|
+
*/
|
|
13
|
+
export interface AuthenticateClientDetails {
|
|
14
|
+
/**
|
|
15
|
+
* The signed headers of the original caller's request.
|
|
16
|
+
*/
|
|
17
|
+
"requestHeaders": {
|
|
18
|
+
[key: string]: Array<string>;
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
export declare namespace AuthenticateClientDetails {
|
|
22
|
+
function getJsonObj(obj: AuthenticateClientDetails): object;
|
|
23
|
+
function getDeserializedJsonObj(obj: AuthenticateClientDetails): object;
|
|
24
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Identity Service
|
|
4
|
+
* API for the Identity Dataplane
|
|
5
|
+
* OpenAPI spec version: v1
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) 2020, 2021, Oracle and/or its affiliates. All rights reserved.
|
|
12
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
13
|
+
*/
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
exports.AuthenticateClientDetails = void 0;
|
|
16
|
+
var AuthenticateClientDetails;
|
|
17
|
+
(function (AuthenticateClientDetails) {
|
|
18
|
+
function getJsonObj(obj) {
|
|
19
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
20
|
+
return jsonObj;
|
|
21
|
+
}
|
|
22
|
+
AuthenticateClientDetails.getJsonObj = getJsonObj;
|
|
23
|
+
function getDeserializedJsonObj(obj) {
|
|
24
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
25
|
+
return jsonObj;
|
|
26
|
+
}
|
|
27
|
+
AuthenticateClientDetails.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
28
|
+
})(AuthenticateClientDetails = exports.AuthenticateClientDetails || (exports.AuthenticateClientDetails = {}));
|
|
29
|
+
//# sourceMappingURL=authenticate-client-details.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"authenticate-client-details.js","sourceRoot":"","sources":["../../../../../lib/identitydataplane/lib/model/authenticate-client-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AAYH,IAAiB,yBAAyB,CAWzC;AAXD,WAAiB,yBAAyB;IACxC,SAAgB,UAAU,CAAC,GAA8B;QACvD,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,oCAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAA8B;QACnE,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,gDAAsB,yBAIrC,CAAA;AACH,CAAC,EAXgB,yBAAyB,GAAzB,iCAAyB,KAAzB,iCAAyB,QAWzC"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Identity Service
|
|
3
|
+
* API for the Identity Dataplane
|
|
4
|
+
* OpenAPI spec version: v1
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) 2020, 2021, Oracle and/or its affiliates. All rights reserved.
|
|
11
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
12
|
+
*/
|
|
13
|
+
import * as model from "../model";
|
|
14
|
+
export interface AuthenticateClientResult {
|
|
15
|
+
/**
|
|
16
|
+
* The original caller's resolved principal object if the authentication succeeds, null otherwise.
|
|
17
|
+
*/
|
|
18
|
+
"principal"?: model.Principal;
|
|
19
|
+
/**
|
|
20
|
+
* If the authentication fails for the original caller (not failing authentication of the calling service, in which case we return 401), we return a 200, but with null principal and an error message
|
|
21
|
+
*/
|
|
22
|
+
"errorMessage"?: string;
|
|
23
|
+
}
|
|
24
|
+
export declare namespace AuthenticateClientResult {
|
|
25
|
+
function getJsonObj(obj: AuthenticateClientResult): object;
|
|
26
|
+
function getDeserializedJsonObj(obj: AuthenticateClientResult): object;
|
|
27
|
+
}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Identity Service
|
|
4
|
+
* API for the Identity Dataplane
|
|
5
|
+
* OpenAPI spec version: v1
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) 2020, 2021, Oracle and/or its affiliates. All rights reserved.
|
|
12
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
13
|
+
*/
|
|
14
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
15
|
+
if (k2 === undefined) k2 = k;
|
|
16
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
17
|
+
}) : (function(o, m, k, k2) {
|
|
18
|
+
if (k2 === undefined) k2 = k;
|
|
19
|
+
o[k2] = m[k];
|
|
20
|
+
}));
|
|
21
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
22
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
23
|
+
}) : function(o, v) {
|
|
24
|
+
o["default"] = v;
|
|
25
|
+
});
|
|
26
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
27
|
+
if (mod && mod.__esModule) return mod;
|
|
28
|
+
var result = {};
|
|
29
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
30
|
+
__setModuleDefault(result, mod);
|
|
31
|
+
return result;
|
|
32
|
+
};
|
|
33
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
34
|
+
exports.AuthenticateClientResult = void 0;
|
|
35
|
+
const model = __importStar(require("../model"));
|
|
36
|
+
var AuthenticateClientResult;
|
|
37
|
+
(function (AuthenticateClientResult) {
|
|
38
|
+
function getJsonObj(obj) {
|
|
39
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
40
|
+
"principal": obj.principal ? model.Principal.getJsonObj(obj.principal) : undefined
|
|
41
|
+
});
|
|
42
|
+
return jsonObj;
|
|
43
|
+
}
|
|
44
|
+
AuthenticateClientResult.getJsonObj = getJsonObj;
|
|
45
|
+
function getDeserializedJsonObj(obj) {
|
|
46
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
47
|
+
"principal": obj.principal
|
|
48
|
+
? model.Principal.getDeserializedJsonObj(obj.principal)
|
|
49
|
+
: undefined
|
|
50
|
+
});
|
|
51
|
+
return jsonObj;
|
|
52
|
+
}
|
|
53
|
+
AuthenticateClientResult.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
54
|
+
})(AuthenticateClientResult = exports.AuthenticateClientResult || (exports.AuthenticateClientResult = {}));
|
|
55
|
+
//# sourceMappingURL=authenticate-client-result.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"authenticate-client-result.js","sourceRoot":"","sources":["../../../../../lib/identitydataplane/lib/model/authenticate-client-result.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAclC,IAAiB,wBAAwB,CAuBxC;AAvBD,WAAiB,wBAAwB;IACvC,SAAgB,UAAU,CAAC,GAA6B;QACtD,MAAM,OAAO,mCACR,GAAG,GACH;YACD,WAAW,EAAE,GAAG,CAAC,SAAS,CAAC,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC,UAAU,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,SAAS;SACnF,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IATe,mCAAU,aASzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAA6B;QAClE,MAAM,OAAO,mCACR,GAAG,GACH;YACD,WAAW,EAAE,GAAG,CAAC,SAAS;gBACxB,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC,sBAAsB,CAAC,GAAG,CAAC,SAAS,CAAC;gBACvD,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAXe,+CAAsB,yBAWrC,CAAA;AACH,CAAC,EAvBgB,wBAAwB,GAAxB,gCAAwB,KAAxB,gCAAwB,QAuBxC"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Identity Service
|
|
3
|
+
* API for the Identity Dataplane
|
|
4
|
+
* OpenAPI spec version: v1
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) 2020, 2021, Oracle and/or its affiliates. All rights reserved.
|
|
11
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
12
|
+
*/
|
|
13
|
+
/**
|
|
14
|
+
* See ValidAuthenticateUserResult, BadUserStateAuthenticateUserResult, UserNotFoundAuthenticateUserResult, TenantNotFoundAuthenticateUserResult
|
|
15
|
+
*
|
|
16
|
+
*/
|
|
17
|
+
export interface AuthenticateUserResult {
|
|
18
|
+
/**
|
|
19
|
+
* The tenant name.
|
|
20
|
+
*/
|
|
21
|
+
"tenantInput": string;
|
|
22
|
+
/**
|
|
23
|
+
* The user name.
|
|
24
|
+
*/
|
|
25
|
+
"userInput": string;
|
|
26
|
+
}
|
|
27
|
+
export declare namespace AuthenticateUserResult {
|
|
28
|
+
function getJsonObj(obj: AuthenticateUserResult): object;
|
|
29
|
+
function getDeserializedJsonObj(obj: AuthenticateUserResult): object;
|
|
30
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Identity Service
|
|
4
|
+
* API for the Identity Dataplane
|
|
5
|
+
* OpenAPI spec version: v1
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) 2020, 2021, Oracle and/or its affiliates. All rights reserved.
|
|
12
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
13
|
+
*/
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
exports.AuthenticateUserResult = void 0;
|
|
16
|
+
var AuthenticateUserResult;
|
|
17
|
+
(function (AuthenticateUserResult) {
|
|
18
|
+
function getJsonObj(obj) {
|
|
19
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
20
|
+
return jsonObj;
|
|
21
|
+
}
|
|
22
|
+
AuthenticateUserResult.getJsonObj = getJsonObj;
|
|
23
|
+
function getDeserializedJsonObj(obj) {
|
|
24
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
25
|
+
return jsonObj;
|
|
26
|
+
}
|
|
27
|
+
AuthenticateUserResult.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
28
|
+
})(AuthenticateUserResult = exports.AuthenticateUserResult || (exports.AuthenticateUserResult = {}));
|
|
29
|
+
//# sourceMappingURL=authenticate-user-result.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"authenticate-user-result.js","sourceRoot":"","sources":["../../../../../lib/identitydataplane/lib/model/authenticate-user-result.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AAoBH,IAAiB,sBAAsB,CAWtC;AAXD,WAAiB,sBAAsB;IACrC,SAAgB,UAAU,CAAC,GAA2B;QACpD,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,iCAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAA2B;QAChE,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,6CAAsB,yBAIrC,CAAA;AACH,CAAC,EAXgB,sBAAsB,GAAtB,8BAAsB,KAAtB,8BAAsB,QAWtC"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Identity Service
|
|
3
|
+
* API for the Identity Dataplane
|
|
4
|
+
* OpenAPI spec version: v1
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) 2020, 2021, Oracle and/or its affiliates. All rights reserved.
|
|
11
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
12
|
+
*/
|
|
13
|
+
import * as model from "../model";
|
|
14
|
+
/**
|
|
15
|
+
* Authentication policy, currently set for the given compartment
|
|
16
|
+
*
|
|
17
|
+
*/
|
|
18
|
+
export interface AuthenticationPolicy {
|
|
19
|
+
/**
|
|
20
|
+
* Password policy.
|
|
21
|
+
*/
|
|
22
|
+
"passwordPolicy"?: model.PasswordPolicy;
|
|
23
|
+
/**
|
|
24
|
+
* Compartment OCID.
|
|
25
|
+
*/
|
|
26
|
+
"compartmentId"?: string;
|
|
27
|
+
}
|
|
28
|
+
export declare namespace AuthenticationPolicy {
|
|
29
|
+
function getJsonObj(obj: AuthenticationPolicy): object;
|
|
30
|
+
function getDeserializedJsonObj(obj: AuthenticationPolicy): object;
|
|
31
|
+
}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Identity Service
|
|
4
|
+
* API for the Identity Dataplane
|
|
5
|
+
* OpenAPI spec version: v1
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) 2020, 2021, Oracle and/or its affiliates. All rights reserved.
|
|
12
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
13
|
+
*/
|
|
14
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
15
|
+
if (k2 === undefined) k2 = k;
|
|
16
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
17
|
+
}) : (function(o, m, k, k2) {
|
|
18
|
+
if (k2 === undefined) k2 = k;
|
|
19
|
+
o[k2] = m[k];
|
|
20
|
+
}));
|
|
21
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
22
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
23
|
+
}) : function(o, v) {
|
|
24
|
+
o["default"] = v;
|
|
25
|
+
});
|
|
26
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
27
|
+
if (mod && mod.__esModule) return mod;
|
|
28
|
+
var result = {};
|
|
29
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
30
|
+
__setModuleDefault(result, mod);
|
|
31
|
+
return result;
|
|
32
|
+
};
|
|
33
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
34
|
+
exports.AuthenticationPolicy = void 0;
|
|
35
|
+
const model = __importStar(require("../model"));
|
|
36
|
+
var AuthenticationPolicy;
|
|
37
|
+
(function (AuthenticationPolicy) {
|
|
38
|
+
function getJsonObj(obj) {
|
|
39
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
40
|
+
"passwordPolicy": obj.passwordPolicy
|
|
41
|
+
? model.PasswordPolicy.getJsonObj(obj.passwordPolicy)
|
|
42
|
+
: undefined
|
|
43
|
+
});
|
|
44
|
+
return jsonObj;
|
|
45
|
+
}
|
|
46
|
+
AuthenticationPolicy.getJsonObj = getJsonObj;
|
|
47
|
+
function getDeserializedJsonObj(obj) {
|
|
48
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
49
|
+
"passwordPolicy": obj.passwordPolicy
|
|
50
|
+
? model.PasswordPolicy.getDeserializedJsonObj(obj.passwordPolicy)
|
|
51
|
+
: undefined
|
|
52
|
+
});
|
|
53
|
+
return jsonObj;
|
|
54
|
+
}
|
|
55
|
+
AuthenticationPolicy.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
56
|
+
})(AuthenticationPolicy = exports.AuthenticationPolicy || (exports.AuthenticationPolicy = {}));
|
|
57
|
+
//# sourceMappingURL=authentication-policy.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"authentication-policy.js","sourceRoot":"","sources":["../../../../../lib/identitydataplane/lib/model/authentication-policy.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAkBlC,IAAiB,oBAAoB,CAyBpC;AAzBD,WAAiB,oBAAoB;IACnC,SAAgB,UAAU,CAAC,GAAyB;QAClD,MAAM,OAAO,mCACR,GAAG,GACH;YACD,gBAAgB,EAAE,GAAG,CAAC,cAAc;gBAClC,CAAC,CAAC,KAAK,CAAC,cAAc,CAAC,UAAU,CAAC,GAAG,CAAC,cAAc,CAAC;gBACrD,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAXe,+BAAU,aAWzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAyB;QAC9D,MAAM,OAAO,mCACR,GAAG,GACH;YACD,gBAAgB,EAAE,GAAG,CAAC,cAAc;gBAClC,CAAC,CAAC,KAAK,CAAC,cAAc,CAAC,sBAAsB,CAAC,GAAG,CAAC,cAAc,CAAC;gBACjE,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAXe,2CAAsB,yBAWrC,CAAA;AACH,CAAC,EAzBgB,oBAAoB,GAApB,4BAAoB,KAApB,4BAAoB,QAyBpC"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Identity Service
|
|
3
|
+
* API for the Identity Dataplane
|
|
4
|
+
* OpenAPI spec version: v1
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) 2020, 2021, Oracle and/or its affiliates. All rights reserved.
|
|
11
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
12
|
+
*/
|
|
13
|
+
import * as model from "../model";
|
|
14
|
+
export interface AuthenticationPrincipal {
|
|
15
|
+
/**
|
|
16
|
+
* The tenancy object.
|
|
17
|
+
*/
|
|
18
|
+
"tenant": model.Tenant;
|
|
19
|
+
/**
|
|
20
|
+
* The user object.
|
|
21
|
+
*/
|
|
22
|
+
"user": model.User;
|
|
23
|
+
}
|
|
24
|
+
export declare namespace AuthenticationPrincipal {
|
|
25
|
+
function getJsonObj(obj: AuthenticationPrincipal): object;
|
|
26
|
+
function getDeserializedJsonObj(obj: AuthenticationPrincipal): object;
|
|
27
|
+
}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Identity Service
|
|
4
|
+
* API for the Identity Dataplane
|
|
5
|
+
* OpenAPI spec version: v1
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) 2020, 2021, Oracle and/or its affiliates. All rights reserved.
|
|
12
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
13
|
+
*/
|
|
14
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
15
|
+
if (k2 === undefined) k2 = k;
|
|
16
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
17
|
+
}) : (function(o, m, k, k2) {
|
|
18
|
+
if (k2 === undefined) k2 = k;
|
|
19
|
+
o[k2] = m[k];
|
|
20
|
+
}));
|
|
21
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
22
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
23
|
+
}) : function(o, v) {
|
|
24
|
+
o["default"] = v;
|
|
25
|
+
});
|
|
26
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
27
|
+
if (mod && mod.__esModule) return mod;
|
|
28
|
+
var result = {};
|
|
29
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
30
|
+
__setModuleDefault(result, mod);
|
|
31
|
+
return result;
|
|
32
|
+
};
|
|
33
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
34
|
+
exports.AuthenticationPrincipal = void 0;
|
|
35
|
+
const model = __importStar(require("../model"));
|
|
36
|
+
var AuthenticationPrincipal;
|
|
37
|
+
(function (AuthenticationPrincipal) {
|
|
38
|
+
function getJsonObj(obj) {
|
|
39
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
40
|
+
"tenant": obj.tenant ? model.Tenant.getJsonObj(obj.tenant) : undefined,
|
|
41
|
+
"user": obj.user ? model.User.getJsonObj(obj.user) : undefined
|
|
42
|
+
});
|
|
43
|
+
return jsonObj;
|
|
44
|
+
}
|
|
45
|
+
AuthenticationPrincipal.getJsonObj = getJsonObj;
|
|
46
|
+
function getDeserializedJsonObj(obj) {
|
|
47
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
48
|
+
"tenant": obj.tenant ? model.Tenant.getDeserializedJsonObj(obj.tenant) : undefined,
|
|
49
|
+
"user": obj.user ? model.User.getDeserializedJsonObj(obj.user) : undefined
|
|
50
|
+
});
|
|
51
|
+
return jsonObj;
|
|
52
|
+
}
|
|
53
|
+
AuthenticationPrincipal.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
54
|
+
})(AuthenticationPrincipal = exports.AuthenticationPrincipal || (exports.AuthenticationPrincipal = {}));
|
|
55
|
+
//# sourceMappingURL=authentication-principal.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"authentication-principal.js","sourceRoot":"","sources":["../../../../../lib/identitydataplane/lib/model/authentication-principal.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAclC,IAAiB,uBAAuB,CAuBvC;AAvBD,WAAiB,uBAAuB;IACtC,SAAgB,UAAU,CAAC,GAA4B;QACrD,MAAM,OAAO,mCACR,GAAG,GACH;YACD,QAAQ,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC,CAAC,KAAK,CAAC,MAAM,CAAC,UAAU,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,SAAS;YACtE,MAAM,EAAE,GAAG,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,UAAU,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,SAAS;SAC/D,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAVe,kCAAU,aAUzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAA4B;QACjE,MAAM,OAAO,mCACR,GAAG,GACH;YACD,QAAQ,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC,CAAC,KAAK,CAAC,MAAM,CAAC,sBAAsB,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,SAAS;YAClF,MAAM,EAAE,GAAG,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,sBAAsB,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,SAAS;SAC3E,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAVe,8CAAsB,yBAUrC,CAAA;AACH,CAAC,EAvBgB,uBAAuB,GAAvB,+BAAuB,KAAvB,+BAAuB,QAuBvC"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Identity Service
|
|
3
|
+
* API for the Identity Dataplane
|
|
4
|
+
* OpenAPI spec version: v1
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) 2020, 2021, Oracle and/or its affiliates. All rights reserved.
|
|
11
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
12
|
+
*/
|
|
13
|
+
export interface AuthenticationRequest {
|
|
14
|
+
/**
|
|
15
|
+
* The user name
|
|
16
|
+
*/
|
|
17
|
+
"userName": string;
|
|
18
|
+
/**
|
|
19
|
+
* The password
|
|
20
|
+
*/
|
|
21
|
+
"password": string;
|
|
22
|
+
/**
|
|
23
|
+
* The name of the tenancy
|
|
24
|
+
*/
|
|
25
|
+
"tenantName": string;
|
|
26
|
+
}
|
|
27
|
+
export declare namespace AuthenticationRequest {
|
|
28
|
+
function getJsonObj(obj: AuthenticationRequest): object;
|
|
29
|
+
function getDeserializedJsonObj(obj: AuthenticationRequest): object;
|
|
30
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Identity Service
|
|
4
|
+
* API for the Identity Dataplane
|
|
5
|
+
* OpenAPI spec version: v1
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) 2020, 2021, Oracle and/or its affiliates. All rights reserved.
|
|
12
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
13
|
+
*/
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
exports.AuthenticationRequest = void 0;
|
|
16
|
+
var AuthenticationRequest;
|
|
17
|
+
(function (AuthenticationRequest) {
|
|
18
|
+
function getJsonObj(obj) {
|
|
19
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
20
|
+
return jsonObj;
|
|
21
|
+
}
|
|
22
|
+
AuthenticationRequest.getJsonObj = getJsonObj;
|
|
23
|
+
function getDeserializedJsonObj(obj) {
|
|
24
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
25
|
+
return jsonObj;
|
|
26
|
+
}
|
|
27
|
+
AuthenticationRequest.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
28
|
+
})(AuthenticationRequest = exports.AuthenticationRequest || (exports.AuthenticationRequest = {}));
|
|
29
|
+
//# sourceMappingURL=authentication-request.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"authentication-request.js","sourceRoot":"","sources":["../../../../../lib/identitydataplane/lib/model/authentication-request.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AAoBH,IAAiB,qBAAqB,CAWrC;AAXD,WAAiB,qBAAqB;IACpC,SAAgB,UAAU,CAAC,GAA0B;QACnD,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,gCAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAA0B;QAC/D,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,4CAAsB,yBAIrC,CAAA;AACH,CAAC,EAXgB,qBAAqB,GAArB,6BAAqB,KAArB,6BAAqB,QAWrC"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Identity Service
|
|
3
|
+
* API for the Identity Dataplane
|
|
4
|
+
* OpenAPI spec version: v1
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) 2020, 2021, Oracle and/or its affiliates. All rights reserved.
|
|
11
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
12
|
+
*/
|
|
13
|
+
import * as model from "../model";
|
|
14
|
+
export interface AuthorizationRequest {
|
|
15
|
+
/**
|
|
16
|
+
* The id of this request. It is a GUID.
|
|
17
|
+
*/
|
|
18
|
+
"requestId": string;
|
|
19
|
+
/**
|
|
20
|
+
* The user principal object
|
|
21
|
+
*/
|
|
22
|
+
"userPrincipal": model.Principal;
|
|
23
|
+
/**
|
|
24
|
+
* The service principal object for service to service calls.
|
|
25
|
+
*/
|
|
26
|
+
"svcPrincipal": model.Principal;
|
|
27
|
+
/**
|
|
28
|
+
* The name of the service that is making this authorization request
|
|
29
|
+
*/
|
|
30
|
+
"serviceName": string;
|
|
31
|
+
/**
|
|
32
|
+
* A set of permission contexts
|
|
33
|
+
*/
|
|
34
|
+
"context": Array<model.PermissionContext>;
|
|
35
|
+
/**
|
|
36
|
+
* The hash of cached policy on the caller service side. If this is different than what Identity has, it will
|
|
37
|
+
* send the most recent policy statements.
|
|
38
|
+
*
|
|
39
|
+
*/
|
|
40
|
+
"policyHash": string;
|
|
41
|
+
}
|
|
42
|
+
export declare namespace AuthorizationRequest {
|
|
43
|
+
function getJsonObj(obj: AuthorizationRequest): object;
|
|
44
|
+
function getDeserializedJsonObj(obj: AuthorizationRequest): object;
|
|
45
|
+
}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Identity Service
|
|
4
|
+
* API for the Identity Dataplane
|
|
5
|
+
* OpenAPI spec version: v1
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) 2020, 2021, Oracle and/or its affiliates. All rights reserved.
|
|
12
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
13
|
+
*/
|
|
14
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
15
|
+
if (k2 === undefined) k2 = k;
|
|
16
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
17
|
+
}) : (function(o, m, k, k2) {
|
|
18
|
+
if (k2 === undefined) k2 = k;
|
|
19
|
+
o[k2] = m[k];
|
|
20
|
+
}));
|
|
21
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
22
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
23
|
+
}) : function(o, v) {
|
|
24
|
+
o["default"] = v;
|
|
25
|
+
});
|
|
26
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
27
|
+
if (mod && mod.__esModule) return mod;
|
|
28
|
+
var result = {};
|
|
29
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
30
|
+
__setModuleDefault(result, mod);
|
|
31
|
+
return result;
|
|
32
|
+
};
|
|
33
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
34
|
+
exports.AuthorizationRequest = void 0;
|
|
35
|
+
const model = __importStar(require("../model"));
|
|
36
|
+
var AuthorizationRequest;
|
|
37
|
+
(function (AuthorizationRequest) {
|
|
38
|
+
function getJsonObj(obj) {
|
|
39
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
40
|
+
"userPrincipal": obj.userPrincipal
|
|
41
|
+
? model.Principal.getJsonObj(obj.userPrincipal)
|
|
42
|
+
: undefined,
|
|
43
|
+
"svcPrincipal": obj.svcPrincipal ? model.Principal.getJsonObj(obj.svcPrincipal) : undefined,
|
|
44
|
+
"context": obj.context
|
|
45
|
+
? obj.context.map(item => {
|
|
46
|
+
return model.PermissionContext.getJsonObj(item);
|
|
47
|
+
})
|
|
48
|
+
: undefined
|
|
49
|
+
});
|
|
50
|
+
return jsonObj;
|
|
51
|
+
}
|
|
52
|
+
AuthorizationRequest.getJsonObj = getJsonObj;
|
|
53
|
+
function getDeserializedJsonObj(obj) {
|
|
54
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
55
|
+
"userPrincipal": obj.userPrincipal
|
|
56
|
+
? model.Principal.getDeserializedJsonObj(obj.userPrincipal)
|
|
57
|
+
: undefined,
|
|
58
|
+
"svcPrincipal": obj.svcPrincipal
|
|
59
|
+
? model.Principal.getDeserializedJsonObj(obj.svcPrincipal)
|
|
60
|
+
: undefined,
|
|
61
|
+
"context": obj.context
|
|
62
|
+
? obj.context.map(item => {
|
|
63
|
+
return model.PermissionContext.getDeserializedJsonObj(item);
|
|
64
|
+
})
|
|
65
|
+
: undefined
|
|
66
|
+
});
|
|
67
|
+
return jsonObj;
|
|
68
|
+
}
|
|
69
|
+
AuthorizationRequest.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
70
|
+
})(AuthorizationRequest = exports.AuthorizationRequest || (exports.AuthorizationRequest = {}));
|
|
71
|
+
//# sourceMappingURL=authorization-request.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"authorization-request.js","sourceRoot":"","sources":["../../../../../lib/identitydataplane/lib/model/authorization-request.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAgClC,IAAiB,oBAAoB,CAyCpC;AAzCD,WAAiB,oBAAoB;IACnC,SAAgB,UAAU,CAAC,GAAyB;QAClD,MAAM,OAAO,mCACR,GAAG,GACH;YACD,eAAe,EAAE,GAAG,CAAC,aAAa;gBAChC,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC,UAAU,CAAC,GAAG,CAAC,aAAa,CAAC;gBAC/C,CAAC,CAAC,SAAS;YACb,cAAc,EAAE,GAAG,CAAC,YAAY,CAAC,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC,UAAU,CAAC,GAAG,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC,SAAS;YAE3F,SAAS,EAAE,GAAG,CAAC,OAAO;gBACpB,CAAC,CAAC,GAAG,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACrB,OAAO,KAAK,CAAC,iBAAiB,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBAClD,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAlBe,+BAAU,aAkBzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAyB;QAC9D,MAAM,OAAO,mCACR,GAAG,GACH;YACD,eAAe,EAAE,GAAG,CAAC,aAAa;gBAChC,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC,sBAAsB,CAAC,GAAG,CAAC,aAAa,CAAC;gBAC3D,CAAC,CAAC,SAAS;YACb,cAAc,EAAE,GAAG,CAAC,YAAY;gBAC9B,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC,sBAAsB,CAAC,GAAG,CAAC,YAAY,CAAC;gBAC1D,CAAC,CAAC,SAAS;YAEb,SAAS,EAAE,GAAG,CAAC,OAAO;gBACpB,CAAC,CAAC,GAAG,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACrB,OAAO,KAAK,CAAC,iBAAiB,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBAC9D,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IApBe,2CAAsB,yBAoBrC,CAAA;AACH,CAAC,EAzCgB,oBAAoB,GAApB,4BAAoB,KAApB,4BAAoB,QAyCpC"}
|