@foru-ms/sdk 2.1.1 → 2.1.2
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/dist/cjs/BaseClient.js +2 -2
- package/dist/cjs/api/resources/integrations/client/Client.d.ts +1 -0
- package/dist/cjs/api/resources/integrations/client/Client.js +1 -0
- package/dist/cjs/api/resources/integrations/client/requests/CreateIntegrationsRequest.d.ts +6 -2
- package/dist/cjs/api/resources/reports/client/requests/CreateReportsRequest.d.ts +4 -0
- package/dist/cjs/api/resources/reports/types/UpdateReportsResponse.d.ts +4 -2
- package/dist/cjs/api/resources/ssOs/client/Client.d.ts +5 -7
- package/dist/cjs/api/resources/ssOs/client/Client.js +5 -7
- package/dist/cjs/api/resources/ssOs/client/requests/CreateSsOsRequest.d.ts +22 -15
- package/dist/cjs/api/resources/ssOs/client/requests/CreateSsOsRequest.js +10 -0
- package/dist/cjs/api/resources/ssOs/client/requests/UpdateSsOsRequest.d.ts +13 -8
- package/dist/cjs/api/resources/ssOs/client/requests/UpdateSsOsRequest.js +10 -0
- package/dist/cjs/api/resources/ssOs/client/requests/index.d.ts +2 -2
- package/dist/cjs/api/resources/ssOs/client/requests/index.js +5 -0
- package/dist/cjs/api/types/IntegrationCreate.d.ts +5 -2
- package/dist/cjs/api/types/Report.d.ts +4 -2
- package/dist/cjs/api/types/ReportCreate.d.ts +4 -0
- package/dist/cjs/api/types/ReportListResponse.d.ts +4 -2
- package/dist/cjs/api/types/ReportResponse.d.ts +4 -2
- package/dist/cjs/api/types/SsoCreate.d.ts +17 -11
- package/dist/cjs/api/types/SsoCreate.js +10 -0
- package/dist/cjs/api/types/SsoUpdate.d.ts +13 -11
- package/dist/cjs/api/types/SsoUpdate.js +10 -0
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/BaseClient.mjs +2 -2
- package/dist/esm/api/resources/integrations/client/Client.d.mts +1 -0
- package/dist/esm/api/resources/integrations/client/Client.mjs +1 -0
- package/dist/esm/api/resources/integrations/client/requests/CreateIntegrationsRequest.d.mts +6 -2
- package/dist/esm/api/resources/reports/client/requests/CreateReportsRequest.d.mts +4 -0
- package/dist/esm/api/resources/reports/types/UpdateReportsResponse.d.mts +4 -2
- package/dist/esm/api/resources/ssOs/client/Client.d.mts +5 -7
- package/dist/esm/api/resources/ssOs/client/Client.mjs +5 -7
- package/dist/esm/api/resources/ssOs/client/requests/CreateSsOsRequest.d.mts +22 -15
- package/dist/esm/api/resources/ssOs/client/requests/CreateSsOsRequest.mjs +9 -1
- package/dist/esm/api/resources/ssOs/client/requests/UpdateSsOsRequest.d.mts +13 -8
- package/dist/esm/api/resources/ssOs/client/requests/UpdateSsOsRequest.mjs +9 -1
- package/dist/esm/api/resources/ssOs/client/requests/index.d.mts +2 -2
- package/dist/esm/api/resources/ssOs/client/requests/index.mjs +2 -1
- package/dist/esm/api/types/IntegrationCreate.d.mts +5 -2
- package/dist/esm/api/types/Report.d.mts +4 -2
- package/dist/esm/api/types/ReportCreate.d.mts +4 -0
- package/dist/esm/api/types/ReportListResponse.d.mts +4 -2
- package/dist/esm/api/types/ReportResponse.d.mts +4 -2
- package/dist/esm/api/types/SsoCreate.d.mts +17 -11
- package/dist/esm/api/types/SsoCreate.mjs +9 -1
- package/dist/esm/api/types/SsoUpdate.d.mts +13 -11
- package/dist/esm/api/types/SsoUpdate.mjs +9 -1
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +1 -1
- package/reference.md +6 -7
package/dist/cjs/BaseClient.js
CHANGED
|
@@ -43,8 +43,8 @@ function normalizeClientOptions(options) {
|
|
|
43
43
|
const headers = (0, headers_js_1.mergeHeaders)({
|
|
44
44
|
"X-Fern-Language": "JavaScript",
|
|
45
45
|
"X-Fern-SDK-Name": "@foru-ms/sdk",
|
|
46
|
-
"X-Fern-SDK-Version": "2.1.
|
|
47
|
-
"User-Agent": "@foru-ms/sdk/2.1.
|
|
46
|
+
"X-Fern-SDK-Version": "2.1.2",
|
|
47
|
+
"User-Agent": "@foru-ms/sdk/2.1.2",
|
|
48
48
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
49
49
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
50
50
|
}, options === null || options === void 0 ? void 0 : options.headers);
|
|
@@ -2,17 +2,21 @@
|
|
|
2
2
|
* @example
|
|
3
3
|
* {
|
|
4
4
|
* type: "type",
|
|
5
|
+
* name: "name",
|
|
5
6
|
* config: {
|
|
6
7
|
* "key": "value"
|
|
7
8
|
* }
|
|
8
9
|
* }
|
|
9
10
|
*/
|
|
10
11
|
export interface CreateIntegrationsRequest {
|
|
11
|
-
/** Integration type (e.g.
|
|
12
|
+
/** Integration type (e.g. SLACK, DISCORD) */
|
|
12
13
|
type: string;
|
|
14
|
+
/** Integration name */
|
|
15
|
+
name: string;
|
|
13
16
|
/** JSON configuration */
|
|
14
17
|
config: Record<string, unknown>;
|
|
15
|
-
|
|
18
|
+
/** Whether integration is active */
|
|
19
|
+
active?: boolean;
|
|
16
20
|
/** Custom extended data */
|
|
17
21
|
extendedData?: Record<string, unknown>;
|
|
18
22
|
}
|
|
@@ -7,6 +7,8 @@
|
|
|
7
7
|
export interface CreateReportsRequest {
|
|
8
8
|
/** Report type (e.g. spam, abuse) */
|
|
9
9
|
type: string;
|
|
10
|
+
/** Report status (default: pending) */
|
|
11
|
+
status?: string;
|
|
10
12
|
/** Reason for reporting */
|
|
11
13
|
description?: string;
|
|
12
14
|
/** Reporter user ID (required for API key auth, ignored for JWT auth) */
|
|
@@ -19,4 +21,6 @@ export interface CreateReportsRequest {
|
|
|
19
21
|
postId?: string;
|
|
20
22
|
/** ID of private message being reported */
|
|
21
23
|
privateMessageId?: string;
|
|
24
|
+
/** Custom extended data */
|
|
25
|
+
extendedData?: Record<string, unknown>;
|
|
22
26
|
}
|
|
@@ -5,6 +5,8 @@ export declare namespace UpdateReportsResponse {
|
|
|
5
5
|
interface Data {
|
|
6
6
|
/** Report type (e.g. spam, abuse) */
|
|
7
7
|
type: string;
|
|
8
|
+
/** Report status (pending, reviewed, resolved, dismissed) */
|
|
9
|
+
status: string | null;
|
|
8
10
|
/** Reason for reporting */
|
|
9
11
|
description?: string;
|
|
10
12
|
/** Reporter user ID (required for API key auth, ignored for JWT auth) */
|
|
@@ -17,9 +19,9 @@ export declare namespace UpdateReportsResponse {
|
|
|
17
19
|
postId?: string;
|
|
18
20
|
/** ID of private message being reported */
|
|
19
21
|
privateMessageId?: string;
|
|
22
|
+
/** Custom extended data */
|
|
23
|
+
extendedData?: Record<string, unknown>;
|
|
20
24
|
id: string;
|
|
21
|
-
/** Report status (pending, reviewed, resolved, dismissed) */
|
|
22
|
-
status: string | null;
|
|
23
25
|
/** Report creation timestamp */
|
|
24
26
|
createdAt: string;
|
|
25
27
|
/** Report last update timestamp */
|
|
@@ -47,13 +47,11 @@ export declare class SsOsClient {
|
|
|
47
47
|
*
|
|
48
48
|
* @example
|
|
49
49
|
* await client.ssOs.create({
|
|
50
|
-
*
|
|
51
|
-
*
|
|
52
|
-
*
|
|
53
|
-
*
|
|
54
|
-
*
|
|
55
|
-
* tokenEndpoint: "tokenEndpoint",
|
|
56
|
-
* userInfoEndpoint: "userInfoEndpoint"
|
|
50
|
+
* provider: "OKTA",
|
|
51
|
+
* domain: "domain",
|
|
52
|
+
* config: {
|
|
53
|
+
* "key": "value"
|
|
54
|
+
* }
|
|
57
55
|
* })
|
|
58
56
|
*/
|
|
59
57
|
create(request: Forum.CreateSsOsRequest, requestOptions?: SsOsClient.RequestOptions): core.HttpResponsePromise<Forum.SsoResponse>;
|
|
@@ -149,13 +149,11 @@ class SsOsClient {
|
|
|
149
149
|
*
|
|
150
150
|
* @example
|
|
151
151
|
* await client.ssOs.create({
|
|
152
|
-
*
|
|
153
|
-
*
|
|
154
|
-
*
|
|
155
|
-
*
|
|
156
|
-
*
|
|
157
|
-
* tokenEndpoint: "tokenEndpoint",
|
|
158
|
-
* userInfoEndpoint: "userInfoEndpoint"
|
|
152
|
+
* provider: "OKTA",
|
|
153
|
+
* domain: "domain",
|
|
154
|
+
* config: {
|
|
155
|
+
* "key": "value"
|
|
156
|
+
* }
|
|
159
157
|
* })
|
|
160
158
|
*/
|
|
161
159
|
create(request, requestOptions) {
|
|
@@ -1,24 +1,31 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @example
|
|
3
3
|
* {
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
*
|
|
9
|
-
* tokenEndpoint: "tokenEndpoint",
|
|
10
|
-
* userInfoEndpoint: "userInfoEndpoint"
|
|
4
|
+
* provider: "OKTA",
|
|
5
|
+
* domain: "domain",
|
|
6
|
+
* config: {
|
|
7
|
+
* "key": "value"
|
|
8
|
+
* }
|
|
11
9
|
* }
|
|
12
10
|
*/
|
|
13
11
|
export interface CreateSsOsRequest {
|
|
14
|
-
/**
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
issuer
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
12
|
+
/** SSO provider type */
|
|
13
|
+
provider: CreateSsOsRequest.Provider;
|
|
14
|
+
/** Email domain to match (e.g. 'acme.com') */
|
|
15
|
+
domain: string;
|
|
16
|
+
/** Provider configuration (clientId, issuer, etc.) */
|
|
17
|
+
config: Record<string, unknown>;
|
|
18
|
+
/** Whether SSO is active */
|
|
19
|
+
active?: boolean;
|
|
22
20
|
/** Custom extended data */
|
|
23
21
|
extendedData?: Record<string, unknown>;
|
|
24
22
|
}
|
|
23
|
+
export declare namespace CreateSsOsRequest {
|
|
24
|
+
/** SSO provider type */
|
|
25
|
+
const Provider: {
|
|
26
|
+
readonly Okta: "OKTA";
|
|
27
|
+
readonly Auth0: "AUTH0";
|
|
28
|
+
readonly Saml: "SAML";
|
|
29
|
+
};
|
|
30
|
+
type Provider = (typeof Provider)[keyof typeof Provider];
|
|
31
|
+
}
|
|
@@ -1,3 +1,13 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.CreateSsOsRequest = void 0;
|
|
5
|
+
var CreateSsOsRequest;
|
|
6
|
+
(function (CreateSsOsRequest) {
|
|
7
|
+
/** SSO provider type */
|
|
8
|
+
CreateSsOsRequest.Provider = {
|
|
9
|
+
Okta: "OKTA",
|
|
10
|
+
Auth0: "AUTH0",
|
|
11
|
+
Saml: "SAML",
|
|
12
|
+
};
|
|
13
|
+
})(CreateSsOsRequest || (exports.CreateSsOsRequest = CreateSsOsRequest = {}));
|
|
@@ -7,18 +7,23 @@
|
|
|
7
7
|
export interface UpdateSsOsRequest {
|
|
8
8
|
/** SSO ID */
|
|
9
9
|
id: string;
|
|
10
|
-
/**
|
|
11
|
-
|
|
10
|
+
/** SSO provider type */
|
|
11
|
+
provider?: UpdateSsOsRequest.Provider;
|
|
12
12
|
/** Email domain to match */
|
|
13
13
|
domain?: string;
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
issuer?: string;
|
|
17
|
-
authorizationEndpoint?: string;
|
|
18
|
-
tokenEndpoint?: string;
|
|
19
|
-
userInfoEndpoint?: string;
|
|
14
|
+
/** Provider configuration */
|
|
15
|
+
config?: Record<string, unknown>;
|
|
20
16
|
/** Enable/disable provider */
|
|
21
17
|
active?: boolean;
|
|
22
18
|
/** Custom extended data */
|
|
23
19
|
extendedData?: Record<string, unknown>;
|
|
24
20
|
}
|
|
21
|
+
export declare namespace UpdateSsOsRequest {
|
|
22
|
+
/** SSO provider type */
|
|
23
|
+
const Provider: {
|
|
24
|
+
readonly Okta: "OKTA";
|
|
25
|
+
readonly Auth0: "AUTH0";
|
|
26
|
+
readonly Saml: "SAML";
|
|
27
|
+
};
|
|
28
|
+
type Provider = (typeof Provider)[keyof typeof Provider];
|
|
29
|
+
}
|
|
@@ -1,3 +1,13 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.UpdateSsOsRequest = void 0;
|
|
5
|
+
var UpdateSsOsRequest;
|
|
6
|
+
(function (UpdateSsOsRequest) {
|
|
7
|
+
/** SSO provider type */
|
|
8
|
+
UpdateSsOsRequest.Provider = {
|
|
9
|
+
Okta: "OKTA",
|
|
10
|
+
Auth0: "AUTH0",
|
|
11
|
+
Saml: "SAML",
|
|
12
|
+
};
|
|
13
|
+
})(UpdateSsOsRequest || (exports.UpdateSsOsRequest = UpdateSsOsRequest = {}));
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export
|
|
1
|
+
export { CreateSsOsRequest } from "./CreateSsOsRequest.js";
|
|
2
2
|
export type { DeleteSsOsRequest } from "./DeleteSsOsRequest.js";
|
|
3
3
|
export type { ListSsOsRequest } from "./ListSsOsRequest.js";
|
|
4
4
|
export type { RetrieveSsOsRequest } from "./RetrieveSsOsRequest.js";
|
|
5
|
-
export
|
|
5
|
+
export { UpdateSsOsRequest } from "./UpdateSsOsRequest.js";
|
|
@@ -1,2 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UpdateSsOsRequest = exports.CreateSsOsRequest = void 0;
|
|
4
|
+
var CreateSsOsRequest_js_1 = require("./CreateSsOsRequest.js");
|
|
5
|
+
Object.defineProperty(exports, "CreateSsOsRequest", { enumerable: true, get: function () { return CreateSsOsRequest_js_1.CreateSsOsRequest; } });
|
|
6
|
+
var UpdateSsOsRequest_js_1 = require("./UpdateSsOsRequest.js");
|
|
7
|
+
Object.defineProperty(exports, "UpdateSsOsRequest", { enumerable: true, get: function () { return UpdateSsOsRequest_js_1.UpdateSsOsRequest; } });
|
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
export interface IntegrationCreate {
|
|
2
|
-
/** Integration type (e.g.
|
|
2
|
+
/** Integration type (e.g. SLACK, DISCORD) */
|
|
3
3
|
type: string;
|
|
4
|
+
/** Integration name */
|
|
5
|
+
name: string;
|
|
4
6
|
/** JSON configuration */
|
|
5
7
|
config: Record<string, unknown>;
|
|
6
|
-
|
|
8
|
+
/** Whether integration is active */
|
|
9
|
+
active?: boolean;
|
|
7
10
|
/** Custom extended data */
|
|
8
11
|
extendedData?: Record<string, unknown>;
|
|
9
12
|
}
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
export interface Report {
|
|
2
2
|
/** Report type (e.g. spam, abuse) */
|
|
3
3
|
type: string;
|
|
4
|
+
/** Report status (pending, reviewed, resolved, dismissed) */
|
|
5
|
+
status: string | null;
|
|
4
6
|
/** Reason for reporting */
|
|
5
7
|
description?: string;
|
|
6
8
|
/** Reporter user ID (required for API key auth, ignored for JWT auth) */
|
|
@@ -13,9 +15,9 @@ export interface Report {
|
|
|
13
15
|
postId?: string;
|
|
14
16
|
/** ID of private message being reported */
|
|
15
17
|
privateMessageId?: string;
|
|
18
|
+
/** Custom extended data */
|
|
19
|
+
extendedData?: Record<string, unknown>;
|
|
16
20
|
id: string;
|
|
17
|
-
/** Report status (pending, reviewed, resolved, dismissed) */
|
|
18
|
-
status: string | null;
|
|
19
21
|
/** Report creation timestamp */
|
|
20
22
|
createdAt: string;
|
|
21
23
|
/** Report last update timestamp */
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
export interface ReportCreate {
|
|
2
2
|
/** Report type (e.g. spam, abuse) */
|
|
3
3
|
type: string;
|
|
4
|
+
/** Report status (default: pending) */
|
|
5
|
+
status?: string;
|
|
4
6
|
/** Reason for reporting */
|
|
5
7
|
description?: string;
|
|
6
8
|
/** Reporter user ID (required for API key auth, ignored for JWT auth) */
|
|
@@ -13,4 +15,6 @@ export interface ReportCreate {
|
|
|
13
15
|
postId?: string;
|
|
14
16
|
/** ID of private message being reported */
|
|
15
17
|
privateMessageId?: string;
|
|
18
|
+
/** Custom extended data */
|
|
19
|
+
extendedData?: Record<string, unknown>;
|
|
16
20
|
}
|
|
@@ -15,6 +15,8 @@ export declare namespace ReportListResponse {
|
|
|
15
15
|
interface Item {
|
|
16
16
|
/** Report type (e.g. spam, abuse) */
|
|
17
17
|
type: string;
|
|
18
|
+
/** Report status (pending, reviewed, resolved, dismissed) */
|
|
19
|
+
status: string | null;
|
|
18
20
|
/** Reason for reporting */
|
|
19
21
|
description?: string;
|
|
20
22
|
/** Reporter user ID (required for API key auth, ignored for JWT auth) */
|
|
@@ -27,9 +29,9 @@ export declare namespace ReportListResponse {
|
|
|
27
29
|
postId?: string;
|
|
28
30
|
/** ID of private message being reported */
|
|
29
31
|
privateMessageId?: string;
|
|
32
|
+
/** Custom extended data */
|
|
33
|
+
extendedData?: Record<string, unknown>;
|
|
30
34
|
id: string;
|
|
31
|
-
/** Report status (pending, reviewed, resolved, dismissed) */
|
|
32
|
-
status: string | null;
|
|
33
35
|
/** Report creation timestamp */
|
|
34
36
|
createdAt: string;
|
|
35
37
|
/** Report last update timestamp */
|
|
@@ -5,6 +5,8 @@ export declare namespace ReportResponse {
|
|
|
5
5
|
interface Data {
|
|
6
6
|
/** Report type (e.g. spam, abuse) */
|
|
7
7
|
type: string;
|
|
8
|
+
/** Report status (pending, reviewed, resolved, dismissed) */
|
|
9
|
+
status: string | null;
|
|
8
10
|
/** Reason for reporting */
|
|
9
11
|
description?: string;
|
|
10
12
|
/** Reporter user ID (required for API key auth, ignored for JWT auth) */
|
|
@@ -17,9 +19,9 @@ export declare namespace ReportResponse {
|
|
|
17
19
|
postId?: string;
|
|
18
20
|
/** ID of private message being reported */
|
|
19
21
|
privateMessageId?: string;
|
|
22
|
+
/** Custom extended data */
|
|
23
|
+
extendedData?: Record<string, unknown>;
|
|
20
24
|
id: string;
|
|
21
|
-
/** Report status (pending, reviewed, resolved, dismissed) */
|
|
22
|
-
status: string | null;
|
|
23
25
|
/** Report creation timestamp */
|
|
24
26
|
createdAt: string;
|
|
25
27
|
/** Report last update timestamp */
|
|
@@ -1,15 +1,21 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* OIDC provider config
|
|
3
|
-
*/
|
|
4
1
|
export interface SsoCreate {
|
|
5
|
-
/**
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
issuer
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
2
|
+
/** SSO provider type */
|
|
3
|
+
provider: SsoCreate.Provider;
|
|
4
|
+
/** Email domain to match (e.g. 'acme.com') */
|
|
5
|
+
domain: string;
|
|
6
|
+
/** Provider configuration (clientId, issuer, etc.) */
|
|
7
|
+
config: Record<string, unknown>;
|
|
8
|
+
/** Whether SSO is active */
|
|
9
|
+
active?: boolean;
|
|
13
10
|
/** Custom extended data */
|
|
14
11
|
extendedData?: Record<string, unknown>;
|
|
15
12
|
}
|
|
13
|
+
export declare namespace SsoCreate {
|
|
14
|
+
/** SSO provider type */
|
|
15
|
+
const Provider: {
|
|
16
|
+
readonly Okta: "OKTA";
|
|
17
|
+
readonly Auth0: "AUTH0";
|
|
18
|
+
readonly Saml: "SAML";
|
|
19
|
+
};
|
|
20
|
+
type Provider = (typeof Provider)[keyof typeof Provider];
|
|
21
|
+
}
|
|
@@ -1,3 +1,13 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.SsoCreate = void 0;
|
|
5
|
+
var SsoCreate;
|
|
6
|
+
(function (SsoCreate) {
|
|
7
|
+
/** SSO provider type */
|
|
8
|
+
SsoCreate.Provider = {
|
|
9
|
+
Okta: "OKTA",
|
|
10
|
+
Auth0: "AUTH0",
|
|
11
|
+
Saml: "SAML",
|
|
12
|
+
};
|
|
13
|
+
})(SsoCreate || (exports.SsoCreate = SsoCreate = {}));
|
|
@@ -1,19 +1,21 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Partial OIDC provider update
|
|
3
|
-
*/
|
|
4
1
|
export interface SsoUpdate {
|
|
5
|
-
/**
|
|
6
|
-
|
|
2
|
+
/** SSO provider type */
|
|
3
|
+
provider?: SsoUpdate.Provider;
|
|
7
4
|
/** Email domain to match */
|
|
8
5
|
domain?: string;
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
issuer?: string;
|
|
12
|
-
authorizationEndpoint?: string;
|
|
13
|
-
tokenEndpoint?: string;
|
|
14
|
-
userInfoEndpoint?: string;
|
|
6
|
+
/** Provider configuration */
|
|
7
|
+
config?: Record<string, unknown>;
|
|
15
8
|
/** Enable/disable provider */
|
|
16
9
|
active?: boolean;
|
|
17
10
|
/** Custom extended data */
|
|
18
11
|
extendedData?: Record<string, unknown>;
|
|
19
12
|
}
|
|
13
|
+
export declare namespace SsoUpdate {
|
|
14
|
+
/** SSO provider type */
|
|
15
|
+
const Provider: {
|
|
16
|
+
readonly Okta: "OKTA";
|
|
17
|
+
readonly Auth0: "AUTH0";
|
|
18
|
+
readonly Saml: "SAML";
|
|
19
|
+
};
|
|
20
|
+
type Provider = (typeof Provider)[keyof typeof Provider];
|
|
21
|
+
}
|
|
@@ -1,3 +1,13 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.SsoUpdate = void 0;
|
|
5
|
+
var SsoUpdate;
|
|
6
|
+
(function (SsoUpdate) {
|
|
7
|
+
/** SSO provider type */
|
|
8
|
+
SsoUpdate.Provider = {
|
|
9
|
+
Okta: "OKTA",
|
|
10
|
+
Auth0: "AUTH0",
|
|
11
|
+
Saml: "SAML",
|
|
12
|
+
};
|
|
13
|
+
})(SsoUpdate || (exports.SsoUpdate = SsoUpdate = {}));
|
package/dist/cjs/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "2.1.
|
|
1
|
+
export declare const SDK_VERSION = "2.1.2";
|
package/dist/cjs/version.js
CHANGED
package/dist/esm/BaseClient.mjs
CHANGED
|
@@ -6,8 +6,8 @@ export function normalizeClientOptions(options) {
|
|
|
6
6
|
const headers = mergeHeaders({
|
|
7
7
|
"X-Fern-Language": "JavaScript",
|
|
8
8
|
"X-Fern-SDK-Name": "@foru-ms/sdk",
|
|
9
|
-
"X-Fern-SDK-Version": "2.1.
|
|
10
|
-
"User-Agent": "@foru-ms/sdk/2.1.
|
|
9
|
+
"X-Fern-SDK-Version": "2.1.2",
|
|
10
|
+
"User-Agent": "@foru-ms/sdk/2.1.2",
|
|
11
11
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
12
12
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
13
13
|
}, options === null || options === void 0 ? void 0 : options.headers);
|
|
@@ -2,17 +2,21 @@
|
|
|
2
2
|
* @example
|
|
3
3
|
* {
|
|
4
4
|
* type: "type",
|
|
5
|
+
* name: "name",
|
|
5
6
|
* config: {
|
|
6
7
|
* "key": "value"
|
|
7
8
|
* }
|
|
8
9
|
* }
|
|
9
10
|
*/
|
|
10
11
|
export interface CreateIntegrationsRequest {
|
|
11
|
-
/** Integration type (e.g.
|
|
12
|
+
/** Integration type (e.g. SLACK, DISCORD) */
|
|
12
13
|
type: string;
|
|
14
|
+
/** Integration name */
|
|
15
|
+
name: string;
|
|
13
16
|
/** JSON configuration */
|
|
14
17
|
config: Record<string, unknown>;
|
|
15
|
-
|
|
18
|
+
/** Whether integration is active */
|
|
19
|
+
active?: boolean;
|
|
16
20
|
/** Custom extended data */
|
|
17
21
|
extendedData?: Record<string, unknown>;
|
|
18
22
|
}
|
|
@@ -7,6 +7,8 @@
|
|
|
7
7
|
export interface CreateReportsRequest {
|
|
8
8
|
/** Report type (e.g. spam, abuse) */
|
|
9
9
|
type: string;
|
|
10
|
+
/** Report status (default: pending) */
|
|
11
|
+
status?: string;
|
|
10
12
|
/** Reason for reporting */
|
|
11
13
|
description?: string;
|
|
12
14
|
/** Reporter user ID (required for API key auth, ignored for JWT auth) */
|
|
@@ -19,4 +21,6 @@ export interface CreateReportsRequest {
|
|
|
19
21
|
postId?: string;
|
|
20
22
|
/** ID of private message being reported */
|
|
21
23
|
privateMessageId?: string;
|
|
24
|
+
/** Custom extended data */
|
|
25
|
+
extendedData?: Record<string, unknown>;
|
|
22
26
|
}
|
|
@@ -5,6 +5,8 @@ export declare namespace UpdateReportsResponse {
|
|
|
5
5
|
interface Data {
|
|
6
6
|
/** Report type (e.g. spam, abuse) */
|
|
7
7
|
type: string;
|
|
8
|
+
/** Report status (pending, reviewed, resolved, dismissed) */
|
|
9
|
+
status: string | null;
|
|
8
10
|
/** Reason for reporting */
|
|
9
11
|
description?: string;
|
|
10
12
|
/** Reporter user ID (required for API key auth, ignored for JWT auth) */
|
|
@@ -17,9 +19,9 @@ export declare namespace UpdateReportsResponse {
|
|
|
17
19
|
postId?: string;
|
|
18
20
|
/** ID of private message being reported */
|
|
19
21
|
privateMessageId?: string;
|
|
22
|
+
/** Custom extended data */
|
|
23
|
+
extendedData?: Record<string, unknown>;
|
|
20
24
|
id: string;
|
|
21
|
-
/** Report status (pending, reviewed, resolved, dismissed) */
|
|
22
|
-
status: string | null;
|
|
23
25
|
/** Report creation timestamp */
|
|
24
26
|
createdAt: string;
|
|
25
27
|
/** Report last update timestamp */
|
|
@@ -47,13 +47,11 @@ export declare class SsOsClient {
|
|
|
47
47
|
*
|
|
48
48
|
* @example
|
|
49
49
|
* await client.ssOs.create({
|
|
50
|
-
*
|
|
51
|
-
*
|
|
52
|
-
*
|
|
53
|
-
*
|
|
54
|
-
*
|
|
55
|
-
* tokenEndpoint: "tokenEndpoint",
|
|
56
|
-
* userInfoEndpoint: "userInfoEndpoint"
|
|
50
|
+
* provider: "OKTA",
|
|
51
|
+
* domain: "domain",
|
|
52
|
+
* config: {
|
|
53
|
+
* "key": "value"
|
|
54
|
+
* }
|
|
57
55
|
* })
|
|
58
56
|
*/
|
|
59
57
|
create(request: Forum.CreateSsOsRequest, requestOptions?: SsOsClient.RequestOptions): core.HttpResponsePromise<Forum.SsoResponse>;
|
|
@@ -113,13 +113,11 @@ export class SsOsClient {
|
|
|
113
113
|
*
|
|
114
114
|
* @example
|
|
115
115
|
* await client.ssOs.create({
|
|
116
|
-
*
|
|
117
|
-
*
|
|
118
|
-
*
|
|
119
|
-
*
|
|
120
|
-
*
|
|
121
|
-
* tokenEndpoint: "tokenEndpoint",
|
|
122
|
-
* userInfoEndpoint: "userInfoEndpoint"
|
|
116
|
+
* provider: "OKTA",
|
|
117
|
+
* domain: "domain",
|
|
118
|
+
* config: {
|
|
119
|
+
* "key": "value"
|
|
120
|
+
* }
|
|
123
121
|
* })
|
|
124
122
|
*/
|
|
125
123
|
create(request, requestOptions) {
|
|
@@ -1,24 +1,31 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @example
|
|
3
3
|
* {
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
*
|
|
9
|
-
* tokenEndpoint: "tokenEndpoint",
|
|
10
|
-
* userInfoEndpoint: "userInfoEndpoint"
|
|
4
|
+
* provider: "OKTA",
|
|
5
|
+
* domain: "domain",
|
|
6
|
+
* config: {
|
|
7
|
+
* "key": "value"
|
|
8
|
+
* }
|
|
11
9
|
* }
|
|
12
10
|
*/
|
|
13
11
|
export interface CreateSsOsRequest {
|
|
14
|
-
/**
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
issuer
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
12
|
+
/** SSO provider type */
|
|
13
|
+
provider: CreateSsOsRequest.Provider;
|
|
14
|
+
/** Email domain to match (e.g. 'acme.com') */
|
|
15
|
+
domain: string;
|
|
16
|
+
/** Provider configuration (clientId, issuer, etc.) */
|
|
17
|
+
config: Record<string, unknown>;
|
|
18
|
+
/** Whether SSO is active */
|
|
19
|
+
active?: boolean;
|
|
22
20
|
/** Custom extended data */
|
|
23
21
|
extendedData?: Record<string, unknown>;
|
|
24
22
|
}
|
|
23
|
+
export declare namespace CreateSsOsRequest {
|
|
24
|
+
/** SSO provider type */
|
|
25
|
+
const Provider: {
|
|
26
|
+
readonly Okta: "OKTA";
|
|
27
|
+
readonly Auth0: "AUTH0";
|
|
28
|
+
readonly Saml: "SAML";
|
|
29
|
+
};
|
|
30
|
+
type Provider = (typeof Provider)[keyof typeof Provider];
|
|
31
|
+
}
|
|
@@ -1,2 +1,10 @@
|
|
|
1
1
|
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
-
export
|
|
2
|
+
export var CreateSsOsRequest;
|
|
3
|
+
(function (CreateSsOsRequest) {
|
|
4
|
+
/** SSO provider type */
|
|
5
|
+
CreateSsOsRequest.Provider = {
|
|
6
|
+
Okta: "OKTA",
|
|
7
|
+
Auth0: "AUTH0",
|
|
8
|
+
Saml: "SAML",
|
|
9
|
+
};
|
|
10
|
+
})(CreateSsOsRequest || (CreateSsOsRequest = {}));
|
|
@@ -7,18 +7,23 @@
|
|
|
7
7
|
export interface UpdateSsOsRequest {
|
|
8
8
|
/** SSO ID */
|
|
9
9
|
id: string;
|
|
10
|
-
/**
|
|
11
|
-
|
|
10
|
+
/** SSO provider type */
|
|
11
|
+
provider?: UpdateSsOsRequest.Provider;
|
|
12
12
|
/** Email domain to match */
|
|
13
13
|
domain?: string;
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
issuer?: string;
|
|
17
|
-
authorizationEndpoint?: string;
|
|
18
|
-
tokenEndpoint?: string;
|
|
19
|
-
userInfoEndpoint?: string;
|
|
14
|
+
/** Provider configuration */
|
|
15
|
+
config?: Record<string, unknown>;
|
|
20
16
|
/** Enable/disable provider */
|
|
21
17
|
active?: boolean;
|
|
22
18
|
/** Custom extended data */
|
|
23
19
|
extendedData?: Record<string, unknown>;
|
|
24
20
|
}
|
|
21
|
+
export declare namespace UpdateSsOsRequest {
|
|
22
|
+
/** SSO provider type */
|
|
23
|
+
const Provider: {
|
|
24
|
+
readonly Okta: "OKTA";
|
|
25
|
+
readonly Auth0: "AUTH0";
|
|
26
|
+
readonly Saml: "SAML";
|
|
27
|
+
};
|
|
28
|
+
type Provider = (typeof Provider)[keyof typeof Provider];
|
|
29
|
+
}
|
|
@@ -1,2 +1,10 @@
|
|
|
1
1
|
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
-
export
|
|
2
|
+
export var UpdateSsOsRequest;
|
|
3
|
+
(function (UpdateSsOsRequest) {
|
|
4
|
+
/** SSO provider type */
|
|
5
|
+
UpdateSsOsRequest.Provider = {
|
|
6
|
+
Okta: "OKTA",
|
|
7
|
+
Auth0: "AUTH0",
|
|
8
|
+
Saml: "SAML",
|
|
9
|
+
};
|
|
10
|
+
})(UpdateSsOsRequest || (UpdateSsOsRequest = {}));
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export
|
|
1
|
+
export { CreateSsOsRequest } from "./CreateSsOsRequest.mjs";
|
|
2
2
|
export type { DeleteSsOsRequest } from "./DeleteSsOsRequest.mjs";
|
|
3
3
|
export type { ListSsOsRequest } from "./ListSsOsRequest.mjs";
|
|
4
4
|
export type { RetrieveSsOsRequest } from "./RetrieveSsOsRequest.mjs";
|
|
5
|
-
export
|
|
5
|
+
export { UpdateSsOsRequest } from "./UpdateSsOsRequest.mjs";
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
export {};
|
|
1
|
+
export { CreateSsOsRequest } from "./CreateSsOsRequest.mjs";
|
|
2
|
+
export { UpdateSsOsRequest } from "./UpdateSsOsRequest.mjs";
|
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
export interface IntegrationCreate {
|
|
2
|
-
/** Integration type (e.g.
|
|
2
|
+
/** Integration type (e.g. SLACK, DISCORD) */
|
|
3
3
|
type: string;
|
|
4
|
+
/** Integration name */
|
|
5
|
+
name: string;
|
|
4
6
|
/** JSON configuration */
|
|
5
7
|
config: Record<string, unknown>;
|
|
6
|
-
|
|
8
|
+
/** Whether integration is active */
|
|
9
|
+
active?: boolean;
|
|
7
10
|
/** Custom extended data */
|
|
8
11
|
extendedData?: Record<string, unknown>;
|
|
9
12
|
}
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
export interface Report {
|
|
2
2
|
/** Report type (e.g. spam, abuse) */
|
|
3
3
|
type: string;
|
|
4
|
+
/** Report status (pending, reviewed, resolved, dismissed) */
|
|
5
|
+
status: string | null;
|
|
4
6
|
/** Reason for reporting */
|
|
5
7
|
description?: string;
|
|
6
8
|
/** Reporter user ID (required for API key auth, ignored for JWT auth) */
|
|
@@ -13,9 +15,9 @@ export interface Report {
|
|
|
13
15
|
postId?: string;
|
|
14
16
|
/** ID of private message being reported */
|
|
15
17
|
privateMessageId?: string;
|
|
18
|
+
/** Custom extended data */
|
|
19
|
+
extendedData?: Record<string, unknown>;
|
|
16
20
|
id: string;
|
|
17
|
-
/** Report status (pending, reviewed, resolved, dismissed) */
|
|
18
|
-
status: string | null;
|
|
19
21
|
/** Report creation timestamp */
|
|
20
22
|
createdAt: string;
|
|
21
23
|
/** Report last update timestamp */
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
export interface ReportCreate {
|
|
2
2
|
/** Report type (e.g. spam, abuse) */
|
|
3
3
|
type: string;
|
|
4
|
+
/** Report status (default: pending) */
|
|
5
|
+
status?: string;
|
|
4
6
|
/** Reason for reporting */
|
|
5
7
|
description?: string;
|
|
6
8
|
/** Reporter user ID (required for API key auth, ignored for JWT auth) */
|
|
@@ -13,4 +15,6 @@ export interface ReportCreate {
|
|
|
13
15
|
postId?: string;
|
|
14
16
|
/** ID of private message being reported */
|
|
15
17
|
privateMessageId?: string;
|
|
18
|
+
/** Custom extended data */
|
|
19
|
+
extendedData?: Record<string, unknown>;
|
|
16
20
|
}
|
|
@@ -15,6 +15,8 @@ export declare namespace ReportListResponse {
|
|
|
15
15
|
interface Item {
|
|
16
16
|
/** Report type (e.g. spam, abuse) */
|
|
17
17
|
type: string;
|
|
18
|
+
/** Report status (pending, reviewed, resolved, dismissed) */
|
|
19
|
+
status: string | null;
|
|
18
20
|
/** Reason for reporting */
|
|
19
21
|
description?: string;
|
|
20
22
|
/** Reporter user ID (required for API key auth, ignored for JWT auth) */
|
|
@@ -27,9 +29,9 @@ export declare namespace ReportListResponse {
|
|
|
27
29
|
postId?: string;
|
|
28
30
|
/** ID of private message being reported */
|
|
29
31
|
privateMessageId?: string;
|
|
32
|
+
/** Custom extended data */
|
|
33
|
+
extendedData?: Record<string, unknown>;
|
|
30
34
|
id: string;
|
|
31
|
-
/** Report status (pending, reviewed, resolved, dismissed) */
|
|
32
|
-
status: string | null;
|
|
33
35
|
/** Report creation timestamp */
|
|
34
36
|
createdAt: string;
|
|
35
37
|
/** Report last update timestamp */
|
|
@@ -5,6 +5,8 @@ export declare namespace ReportResponse {
|
|
|
5
5
|
interface Data {
|
|
6
6
|
/** Report type (e.g. spam, abuse) */
|
|
7
7
|
type: string;
|
|
8
|
+
/** Report status (pending, reviewed, resolved, dismissed) */
|
|
9
|
+
status: string | null;
|
|
8
10
|
/** Reason for reporting */
|
|
9
11
|
description?: string;
|
|
10
12
|
/** Reporter user ID (required for API key auth, ignored for JWT auth) */
|
|
@@ -17,9 +19,9 @@ export declare namespace ReportResponse {
|
|
|
17
19
|
postId?: string;
|
|
18
20
|
/** ID of private message being reported */
|
|
19
21
|
privateMessageId?: string;
|
|
22
|
+
/** Custom extended data */
|
|
23
|
+
extendedData?: Record<string, unknown>;
|
|
20
24
|
id: string;
|
|
21
|
-
/** Report status (pending, reviewed, resolved, dismissed) */
|
|
22
|
-
status: string | null;
|
|
23
25
|
/** Report creation timestamp */
|
|
24
26
|
createdAt: string;
|
|
25
27
|
/** Report last update timestamp */
|
|
@@ -1,15 +1,21 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* OIDC provider config
|
|
3
|
-
*/
|
|
4
1
|
export interface SsoCreate {
|
|
5
|
-
/**
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
issuer
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
2
|
+
/** SSO provider type */
|
|
3
|
+
provider: SsoCreate.Provider;
|
|
4
|
+
/** Email domain to match (e.g. 'acme.com') */
|
|
5
|
+
domain: string;
|
|
6
|
+
/** Provider configuration (clientId, issuer, etc.) */
|
|
7
|
+
config: Record<string, unknown>;
|
|
8
|
+
/** Whether SSO is active */
|
|
9
|
+
active?: boolean;
|
|
13
10
|
/** Custom extended data */
|
|
14
11
|
extendedData?: Record<string, unknown>;
|
|
15
12
|
}
|
|
13
|
+
export declare namespace SsoCreate {
|
|
14
|
+
/** SSO provider type */
|
|
15
|
+
const Provider: {
|
|
16
|
+
readonly Okta: "OKTA";
|
|
17
|
+
readonly Auth0: "AUTH0";
|
|
18
|
+
readonly Saml: "SAML";
|
|
19
|
+
};
|
|
20
|
+
type Provider = (typeof Provider)[keyof typeof Provider];
|
|
21
|
+
}
|
|
@@ -1,2 +1,10 @@
|
|
|
1
1
|
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
-
export
|
|
2
|
+
export var SsoCreate;
|
|
3
|
+
(function (SsoCreate) {
|
|
4
|
+
/** SSO provider type */
|
|
5
|
+
SsoCreate.Provider = {
|
|
6
|
+
Okta: "OKTA",
|
|
7
|
+
Auth0: "AUTH0",
|
|
8
|
+
Saml: "SAML",
|
|
9
|
+
};
|
|
10
|
+
})(SsoCreate || (SsoCreate = {}));
|
|
@@ -1,19 +1,21 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Partial OIDC provider update
|
|
3
|
-
*/
|
|
4
1
|
export interface SsoUpdate {
|
|
5
|
-
/**
|
|
6
|
-
|
|
2
|
+
/** SSO provider type */
|
|
3
|
+
provider?: SsoUpdate.Provider;
|
|
7
4
|
/** Email domain to match */
|
|
8
5
|
domain?: string;
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
issuer?: string;
|
|
12
|
-
authorizationEndpoint?: string;
|
|
13
|
-
tokenEndpoint?: string;
|
|
14
|
-
userInfoEndpoint?: string;
|
|
6
|
+
/** Provider configuration */
|
|
7
|
+
config?: Record<string, unknown>;
|
|
15
8
|
/** Enable/disable provider */
|
|
16
9
|
active?: boolean;
|
|
17
10
|
/** Custom extended data */
|
|
18
11
|
extendedData?: Record<string, unknown>;
|
|
19
12
|
}
|
|
13
|
+
export declare namespace SsoUpdate {
|
|
14
|
+
/** SSO provider type */
|
|
15
|
+
const Provider: {
|
|
16
|
+
readonly Okta: "OKTA";
|
|
17
|
+
readonly Auth0: "AUTH0";
|
|
18
|
+
readonly Saml: "SAML";
|
|
19
|
+
};
|
|
20
|
+
type Provider = (typeof Provider)[keyof typeof Provider];
|
|
21
|
+
}
|
|
@@ -1,2 +1,10 @@
|
|
|
1
1
|
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
-
export
|
|
2
|
+
export var SsoUpdate;
|
|
3
|
+
(function (SsoUpdate) {
|
|
4
|
+
/** SSO provider type */
|
|
5
|
+
SsoUpdate.Provider = {
|
|
6
|
+
Okta: "OKTA",
|
|
7
|
+
Auth0: "AUTH0",
|
|
8
|
+
Saml: "SAML",
|
|
9
|
+
};
|
|
10
|
+
})(SsoUpdate || (SsoUpdate = {}));
|
package/dist/esm/version.d.mts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "2.1.
|
|
1
|
+
export declare const SDK_VERSION = "2.1.2";
|
package/dist/esm/version.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const SDK_VERSION = "2.1.
|
|
1
|
+
export const SDK_VERSION = "2.1.2";
|
package/package.json
CHANGED
package/reference.md
CHANGED
|
@@ -5423,6 +5423,7 @@ Create an new integration.
|
|
|
5423
5423
|
```typescript
|
|
5424
5424
|
await client.integrations.create({
|
|
5425
5425
|
type: "type",
|
|
5426
|
+
name: "name",
|
|
5426
5427
|
config: {
|
|
5427
5428
|
"key": "value"
|
|
5428
5429
|
}
|
|
@@ -5759,13 +5760,11 @@ Create an new sso.
|
|
|
5759
5760
|
|
|
5760
5761
|
```typescript
|
|
5761
5762
|
await client.ssOs.create({
|
|
5762
|
-
|
|
5763
|
-
|
|
5764
|
-
|
|
5765
|
-
|
|
5766
|
-
|
|
5767
|
-
tokenEndpoint: "tokenEndpoint",
|
|
5768
|
-
userInfoEndpoint: "userInfoEndpoint"
|
|
5763
|
+
provider: "OKTA",
|
|
5764
|
+
domain: "domain",
|
|
5765
|
+
config: {
|
|
5766
|
+
"key": "value"
|
|
5767
|
+
}
|
|
5769
5768
|
});
|
|
5770
5769
|
|
|
5771
5770
|
```
|