@qlik/api 2.3.0 → 2.4.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/analytics/change-stores.d.ts +40 -76
- package/analytics/change-stores.js +9 -10
- package/analytics.d.ts +1 -2
- package/analytics.js +5 -6
- package/api-keys.d.ts +46 -100
- package/api-keys.js +3 -4
- package/apps.d.ts +334 -461
- package/apps.js +74 -6
- package/assistants.d.ts +172 -337
- package/assistants.js +3 -4
- package/audits.d.ts +41 -85
- package/audits.js +3 -4
- package/auth-types.d.ts +110 -1
- package/auth-types.js +22 -1
- package/auth.d.ts +1 -2
- package/auth.js +1 -1
- package/automation-connections.d.ts +44 -95
- package/automation-connections.js +3 -4
- package/automation-connectors.d.ts +10 -20
- package/automation-connectors.js +3 -4
- package/automations.d.ts +54 -112
- package/automations.js +3 -4
- package/automl-deployments.d.ts +17 -36
- package/automl-deployments.js +3 -4
- package/automl-predictions.d.ts +12 -24
- package/automl-predictions.js +3 -4
- package/banners.d.ts +8 -14
- package/banners.js +3 -4
- package/brands.d.ts +19 -39
- package/brands.js +3 -4
- package/chunks/auth-B8lJw7rm.js +31 -0
- package/chunks/{interceptors-DipDBQQ5.js → boot-interceptors-DqRxTczb.js} +296 -248
- package/chunks/{chunk-D3vHIbds.js → chunk-BdHzlgOL.js} +3 -3
- package/chunks/{invoke-fetch-B7lGscuQ.js → invoke-fetch-DMAi6Fg3.js} +3 -3
- package/chunks/{invoke-fetch-DhdyFZ0F.js → invoke-fetch-pMN6iqup.js} +2 -3
- package/chunks/platform-types-CECrZkOF.d.ts +29 -0
- package/chunks/{public-runtime-modules-QhLPeQr5.js → public-runtime-modules-2KfyI2qM.js} +5 -5
- package/chunks/{qix-RCUslia8.js → qix-BdNrIA4s.js} +19 -20
- package/chunks/{qix-chunk-entrypoint-WAS4NVTf.js → qix-chunk-entrypoint-L9RpWwLK.js} +52 -58
- package/chunks/{qix-CrqXv44x.d.ts → qix-types-y_di0roE.d.ts} +33 -115
- package/collections.d.ts +67 -144
- package/collections.js +3 -4
- package/conditions.d.ts +87 -190
- package/conditions.js +3 -4
- package/consumption.d.ts +35 -72
- package/consumption.js +3 -4
- package/core/ip-policies.d.ts +43 -93
- package/core/ip-policies.js +5 -6
- package/core.d.ts +1 -2
- package/core.js +5 -6
- package/csp-origins.d.ts +42 -85
- package/csp-origins.js +3 -4
- package/csrf-token.d.ts +6 -11
- package/csrf-token.js +3 -4
- package/data-alerts.d.ts +152 -325
- package/data-alerts.js +3 -4
- package/data-assets.d.ts +16 -31
- package/data-assets.js +3 -4
- package/data-connections.d.ts +123 -257
- package/data-connections.js +3 -4
- package/data-credentials.d.ts +36 -76
- package/data-credentials.js +3 -4
- package/data-files.d.ts +60 -121
- package/data-files.js +3 -4
- package/data-governance/data-products.d.ts +429 -0
- package/data-governance/data-products.js +212 -0
- package/data-governance.d.ts +13 -0
- package/data-governance.js +12 -0
- package/data-qualities.d.ts +11 -25
- package/data-qualities.js +3 -4
- package/data-sets.d.ts +28 -57
- package/data-sets.js +3 -4
- package/data-sources.d.ts +45 -97
- package/data-sources.js +3 -4
- package/data-stores.d.ts +53 -107
- package/data-stores.js +3 -4
- package/dcaas.d.ts +32 -67
- package/dcaas.js +3 -4
- package/di-projects.d.ts +111 -136
- package/di-projects.js +25 -4
- package/direct-access-agents.d.ts +29 -63
- package/direct-access-agents.js +3 -4
- package/encryption.d.ts +28 -59
- package/encryption.js +3 -4
- package/extensions.d.ts +35 -73
- package/extensions.js +3 -4
- package/global-types.d.ts +139 -1
- package/glossaries.d.ts +75 -158
- package/glossaries.js +3 -4
- package/groups.d.ts +58 -125
- package/groups.js +3 -4
- package/identity-providers.d.ts +148 -324
- package/identity-providers.js +3 -4
- package/index.d.ts +18 -4
- package/index.js +64 -19
- package/interceptors.d.ts +2 -3
- package/interceptors.js +104 -2
- package/invoke-fetch-types.d.ts +97 -1
- package/items.d.ts +85 -181
- package/items.js +3 -4
- package/knowledgebases.d.ts +137 -270
- package/knowledgebases.js +3 -4
- package/licenses.d.ts +71 -153
- package/licenses.js +3 -4
- package/lineage-graphs.d.ts +39 -85
- package/lineage-graphs.js +3 -4
- package/ml.d.ts +290 -621
- package/ml.js +3 -4
- package/notes.d.ts +9 -18
- package/notes.js +3 -4
- package/notifications.d.ts +14 -30
- package/notifications.js +3 -4
- package/oauth-clients.d.ts +98 -159
- package/oauth-clients.js +4 -5
- package/oauth-tokens.d.ts +16 -33
- package/oauth-tokens.js +3 -4
- package/package.json +6 -4
- package/qix.d.ts +46 -2
- package/qix.js +2 -3
- package/questions.d.ts +53 -110
- package/questions.js +3 -4
- package/quotas.d.ts +13 -26
- package/quotas.js +3 -4
- package/reload-tasks.d.ts +23 -46
- package/reload-tasks.js +3 -4
- package/reloads.d.ts +26 -52
- package/reloads.js +3 -4
- package/report-templates.d.ts +30 -63
- package/report-templates.js +3 -4
- package/reports.d.ts +111 -238
- package/reports.js +3 -4
- package/roles.d.ts +36 -77
- package/roles.js +3 -4
- package/sharing-tasks.d.ts +201 -427
- package/sharing-tasks.js +3 -4
- package/spaces.d.ts +71 -157
- package/spaces.js +3 -4
- package/tasks.d.ts +76 -164
- package/tasks.js +3 -4
- package/temp-contents.d.ts +17 -35
- package/temp-contents.js +3 -4
- package/tenant-settings.d.ts +298 -0
- package/tenant-settings.js +107 -0
- package/tenants.d.ts +31 -67
- package/tenants.js +3 -4
- package/themes.d.ts +27 -55
- package/themes.js +3 -4
- package/transports.d.ts +46 -106
- package/transports.js +3 -4
- package/ui-config.d.ts +8 -17
- package/ui-config.js +3 -4
- package/users.d.ts +80 -170
- package/users.js +3 -4
- package/web-integrations.d.ts +38 -83
- package/web-integrations.js +3 -4
- package/web-notifications.d.ts +14 -29
- package/web-notifications.js +3 -4
- package/webhooks.d.ts +77 -162
- package/webhooks.js +3 -4
- package/chunks/auth-BowS4SUR.js +0 -28
- package/chunks/auth-types-YrlH_R9f.d.ts +0 -416
- package/chunks/auth-types-h43TVDpB.js +0 -24
- package/chunks/global-types-CEVAJebk.js +0 -1
- /package/chunks/{dist-n3iOVn1W.js → dist-DR758NU5.js} +0 -0
- /package/chunks/{invoke-fetch-C1Z0RJYU.d.ts → invoke-fetch-DFc3yzaj.d.ts} +0 -0
- /package/chunks/{utils-vv-xFm06.js → utils-jkpLuYZR.js} +0 -0
- /package/chunks/{websocket-errors-CRTDTtBL.js → websocket-errors-C5U1tba-.js} +0 -0
package/identity-providers.d.ts
CHANGED
|
@@ -1,214 +1,129 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import "./chunks/invoke-fetch-
|
|
1
|
+
import { ApiCallOptions } from "./invoke-fetch-types.js";
|
|
2
|
+
import "./chunks/invoke-fetch-DFc3yzaj.js";
|
|
3
3
|
|
|
4
4
|
//#region src/public/rest/identity-providers.d.ts
|
|
5
5
|
type BaseIDP = {
|
|
6
|
-
/** Indicates whether the IdP is available for use. */
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
/** When the flag is true, new users should be created when logging in for the first time. */
|
|
10
|
-
createNewUsersOnLogin?: boolean;
|
|
11
|
-
/** The timestamp for when the IdP was created. */
|
|
6
|
+
/** Indicates whether the IdP is available for use. */active?: boolean;
|
|
7
|
+
clockToleranceSec?: number; /** When the flag is true, new users should be created when logging in for the first time. */
|
|
8
|
+
createNewUsersOnLogin?: boolean; /** The timestamp for when the IdP was created. */
|
|
12
9
|
created?: string;
|
|
13
|
-
description?: string;
|
|
14
|
-
/**
|
|
15
|
-
|
|
16
|
-
/** Indicates the type of connection with the IdP, either interactive login or a machine to machine connection. */
|
|
17
|
-
interactive?: boolean;
|
|
18
|
-
/** The timestamp for when the IdP was last updated. */
|
|
10
|
+
description?: string; /** The unique identifier for the IdP. */
|
|
11
|
+
id?: string; /** Indicates the type of connection with the IdP, either interactive login or a machine to machine connection. */
|
|
12
|
+
interactive?: boolean; /** The timestamp for when the IdP was last updated. */
|
|
19
13
|
lastUpdated?: string;
|
|
20
|
-
meta?: unknown;
|
|
21
|
-
/**
|
|
22
|
-
|
|
23
|
-
/** The
|
|
24
|
-
protocol?: IDPProtocol;
|
|
25
|
-
/** The identity provider to be used. If protocol is `OIDC`, the valid values are `auth0`, `okta`, `generic`, `salesforce`, `keycloak`, `adfs`, and `azureAD`. If protocol is `jwtAuth`, the valid value is `external`. */
|
|
26
|
-
provider?: IDPProvider;
|
|
27
|
-
/** The tenant identifiers associated with the given IdP. */
|
|
14
|
+
meta?: unknown; /** Direct the user on logout to a specific URI. */
|
|
15
|
+
postLogoutRedirectUri?: string; /** The protocol to be used for communicating with the identity provider. Valid values are `OIDC`, `SAML`, `jwtAuth`, and `qsefw-local-bearer-token`. */
|
|
16
|
+
protocol?: IDPProtocol; /** The identity provider to be used. If protocol is `OIDC`, the valid values are `auth0`, `okta`, `generic`, `salesforce`, `keycloak`, `adfs`, and `azureAD`. If protocol is `jwtAuth`, the valid value is `external`. */
|
|
17
|
+
provider?: IDPProvider; /** The tenant identifiers associated with the given IdP. */
|
|
28
18
|
tenantIds?: string[];
|
|
29
19
|
};
|
|
30
20
|
type CertificateInfo = {
|
|
31
|
-
/** The X.509 certificate for validating signed SAML responses. */
|
|
32
|
-
certificate
|
|
33
|
-
/** Indicates whether the certificate is used for
|
|
34
|
-
encryption?: boolean;
|
|
35
|
-
/** Given name for this certificate. */
|
|
36
|
-
name?: string;
|
|
37
|
-
/** Indicates whether the certificate is used for the signature. */
|
|
21
|
+
/** The X.509 certificate for validating signed SAML responses. */certificate: string; /** Indicates whether the certificate is used for encryption. */
|
|
22
|
+
encryption?: boolean; /** Given name for this certificate. */
|
|
23
|
+
name?: string; /** Indicates whether the certificate is used for the signature. */
|
|
38
24
|
signature?: boolean;
|
|
39
25
|
};
|
|
40
26
|
/**
|
|
41
27
|
* Payload for creating an identity provider using JWT authentication.
|
|
42
28
|
*/
|
|
43
29
|
type CreateJWTAuthPayload = {
|
|
44
|
-
/** There can be clock skew between the IdP and Qlik's login server. In these cases, a tolerance can be set. */
|
|
45
|
-
|
|
46
|
-
description?: string;
|
|
47
|
-
/** Required IdP configurations. */
|
|
30
|
+
/** There can be clock skew between the IdP and Qlik's login server. In these cases, a tolerance can be set. */clockToleranceSec?: number;
|
|
31
|
+
description?: string; /** Required IdP configurations. */
|
|
48
32
|
options: {
|
|
49
|
-
/** The JWT issuer. */
|
|
50
|
-
issuer: string;
|
|
51
|
-
/** Keys for verifying JWTs. Limited to 1 key per identity provider. */
|
|
33
|
+
/** The JWT issuer. */issuer: string; /** Keys for verifying JWTs. Limited to 1 key per identity provider. */
|
|
52
34
|
staticKeys: {
|
|
53
|
-
/** Key ID used to sign the JWTs. */
|
|
54
|
-
kid: string;
|
|
55
|
-
/** Pem-encoded public key for verifying the JWTs. */
|
|
35
|
+
/** Key ID used to sign the JWTs. */kid: string; /** Pem-encoded public key for verifying the JWTs. */
|
|
56
36
|
pem: string;
|
|
57
37
|
}[];
|
|
58
|
-
};
|
|
59
|
-
/** The
|
|
60
|
-
|
|
61
|
-
/** The identity provider to be used. */
|
|
62
|
-
provider: "external";
|
|
63
|
-
/** The tenant identifiers that map to the given IdP. */
|
|
38
|
+
}; /** The protocol to be used for communicating with the identity provider. */
|
|
39
|
+
protocol: "jwtAuth"; /** The identity provider to be used. */
|
|
40
|
+
provider: "external"; /** The tenant identifiers that map to the given IdP. */
|
|
64
41
|
tenantIds?: string[];
|
|
65
42
|
};
|
|
66
43
|
/**
|
|
67
44
|
* Payload for creating an OIDC-compatible identity provider.
|
|
68
45
|
*/
|
|
69
46
|
type CreateOIDCPayload = {
|
|
70
|
-
/** There can be clock skew between the IdP and Qlik's login server. In these cases, a tolerance can be set. */
|
|
71
|
-
clockToleranceSec?: number;
|
|
72
|
-
/** Tells the consumer of the IdP that new users should be created on login if they don't exist. */
|
|
47
|
+
/** There can be clock skew between the IdP and Qlik's login server. In these cases, a tolerance can be set. */clockToleranceSec?: number; /** Tells the consumer of the IdP that new users should be created on login if they don't exist. */
|
|
73
48
|
createNewUsersOnLogin?: boolean;
|
|
74
|
-
description?: string;
|
|
75
|
-
/**
|
|
76
|
-
interactive: boolean;
|
|
77
|
-
/** Required OIDC configurations for non-interactive IdPs and interactive IdPs with `skipVerify` flag enabled. */
|
|
49
|
+
description?: string; /** Indicates whether the IdP is meant for interactive login. */
|
|
50
|
+
interactive: boolean; /** Required OIDC configurations for non-interactive IdPs and interactive IdPs with `skipVerify` flag enabled. */
|
|
78
51
|
options?: {
|
|
79
|
-
/** Only clients with IDs in this list will be allowed API access. A blank list or empty value means any client IDs authenticated against the IdP will be allowed access. */
|
|
80
|
-
|
|
81
|
-
/**
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
claimsMapping: ClaimsMappingNonInteractive;
|
|
85
|
-
/** The OpenID configuration endpoint. (Ex: https://<domain>/.well-known/openid-configuration). Required if openid_configuration is not given. */
|
|
86
|
-
discoveryUrl?: string;
|
|
87
|
-
/** OpenID configuration */
|
|
88
|
-
openid_configuration?: OpenIDConfiguration;
|
|
89
|
-
/** The realm identifier for the IdP. */
|
|
52
|
+
/** Only clients with IDs in this list will be allowed API access. A blank list or empty value means any client IDs authenticated against the IdP will be allowed access. */allowedClientIds?: string[]; /** Allows for setting audience in access tokens. */
|
|
53
|
+
audience?: string; /** Mappings from claim name to an array of JSON pointers that point to locations in the claims from the IdP to retrieve the value from. */
|
|
54
|
+
claimsMapping: ClaimsMappingNonInteractive; /** The OpenID configuration endpoint. (Ex: https://<domain>/.well-known/openid-configuration). Required if openid_configuration is not given. */
|
|
55
|
+
discoveryUrl?: string; /** OpenID configuration */
|
|
56
|
+
openid_configuration?: OpenIDConfiguration; /** The realm identifier for the IdP. */
|
|
90
57
|
realm?: string;
|
|
91
|
-
};
|
|
92
|
-
/** Required OIDC configurations for interactive IdPs that require verification. */
|
|
58
|
+
}; /** Required OIDC configurations for interactive IdPs that require verification. */
|
|
93
59
|
pendingOptions?: {
|
|
94
|
-
/** When true, the `offline_access` scope will not be requested from the IdP where applicable. */
|
|
95
|
-
|
|
96
|
-
/**
|
|
97
|
-
|
|
98
|
-
/** The
|
|
99
|
-
|
|
100
|
-
/** The
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
/**
|
|
105
|
-
discoveryUrl?: string;
|
|
106
|
-
/** Only ADFS and AzureAD IdPs can set this property. For ADFS and AzureAD, it defaults to false. For other IdPs, it defaults to undefined. */
|
|
107
|
-
emailVerifiedAlwaysTrue?: boolean;
|
|
108
|
-
/** The algorithm used to sign the ID token. The default algorithm is RS256. */
|
|
109
|
-
idTokenSignatureAlg?: "RS256" | "RS512";
|
|
110
|
-
/** OpenID configuration */
|
|
111
|
-
openid_configuration?: OpenIDConfiguration;
|
|
112
|
-
/** The realm identifier for the IdP. */
|
|
113
|
-
realm?: string;
|
|
114
|
-
/** Scope which will be sent along with token requests to the IdP. Scopes should be space delimited. Will default to certain values depending on the IdP provider. */
|
|
115
|
-
scope?: string;
|
|
116
|
-
/** If true, will use the claims from the ID token. By default it is set to true for ADFS and AzureAD. */
|
|
60
|
+
/** When true, the `offline_access` scope will not be requested from the IdP where applicable. */blockOfflineAccessScope?: boolean; /** Mappings from claim name to an array of JSON pointers that point to locations in the claims from the IdP to retrieve the value from. */
|
|
61
|
+
claimsMapping: ClaimsMappingInteractive; /** The client identifier used as part of authenticating an interactive identity provider. */
|
|
62
|
+
clientId: string; /** The client secret used as part of authenticating an interactive identity provider. */
|
|
63
|
+
clientSecret: string; /** A decrypting key used to decrypt OIDC encrypted assertions */
|
|
64
|
+
decryptingKey?: DecryptingKey; /** The OpenID configuration endpoint. (Ex: https://<domain>/.well-known/openid-configuration). Required if openid_configuration is not given. */
|
|
65
|
+
discoveryUrl?: string; /** Only ADFS and AzureAD IdPs can set this property. For ADFS and AzureAD, it defaults to false. For other IdPs, it defaults to undefined. */
|
|
66
|
+
emailVerifiedAlwaysTrue?: boolean; /** The algorithm used to sign the ID token. The default algorithm is RS256. */
|
|
67
|
+
idTokenSignatureAlg?: "RS256" | "RS512"; /** OpenID configuration */
|
|
68
|
+
openid_configuration?: OpenIDConfiguration; /** The realm identifier for the IdP. */
|
|
69
|
+
realm?: string; /** Scope which will be sent along with token requests to the IdP. Scopes should be space delimited. Will default to certain values depending on the IdP provider. */
|
|
70
|
+
scope?: string; /** If true, will use the claims from the ID token. By default it is set to true for ADFS and AzureAD. */
|
|
117
71
|
useClaimsFromIdToken?: boolean;
|
|
118
|
-
};
|
|
119
|
-
/**
|
|
120
|
-
|
|
121
|
-
/**
|
|
122
|
-
|
|
123
|
-
/** The identity provider to be used. */
|
|
124
|
-
provider: "auth0" | "okta" | "generic" | "salesforce" | "keycloak" | "adfs" | "azureAD";
|
|
125
|
-
/** If set to `true`, skips IdP verification process and assumes the IdP is verified. */
|
|
126
|
-
skipVerify?: boolean;
|
|
127
|
-
/** The tenant identifiers that map to the given IdP. */
|
|
72
|
+
}; /** Direct the user on logout to a specific URI. */
|
|
73
|
+
postLogoutRedirectUri?: string; /** The protocol to be used for communicating with the identity provider. */
|
|
74
|
+
protocol: "OIDC"; /** The identity provider to be used. */
|
|
75
|
+
provider: "auth0" | "okta" | "generic" | "salesforce" | "keycloak" | "adfs" | "azureAD"; /** If set to `true`, skips IdP verification process and assumes the IdP is verified. */
|
|
76
|
+
skipVerify?: boolean; /** The tenant identifiers that map to the given IdP. */
|
|
128
77
|
tenantIds?: string[];
|
|
129
78
|
};
|
|
130
79
|
/**
|
|
131
80
|
* Payload for creating a SAML compatible identity provider.
|
|
132
81
|
*/
|
|
133
82
|
type CreateSAMLPayload = {
|
|
134
|
-
/** There can be clock skew between the IdP and Qlik's login server. In these cases, a tolerance can be set. */
|
|
135
|
-
clockToleranceSec?: number;
|
|
136
|
-
/** Tells the consumer of the IdP that new users should be created on login if they don't exist. */
|
|
83
|
+
/** There can be clock skew between the IdP and Qlik's login server. In these cases, a tolerance can be set. */clockToleranceSec?: number; /** Tells the consumer of the IdP that new users should be created on login if they don't exist. */
|
|
137
84
|
createNewUsersOnLogin?: boolean;
|
|
138
|
-
description?: string;
|
|
139
|
-
|
|
140
|
-
interactive: boolean;
|
|
141
|
-
/** Required SAML configurations for IdPs with `skipVerify` flag enabled. */
|
|
85
|
+
description?: string; /** Indicates whether the IdP is meant for interactive login. Must be true for SAML IdPs. */
|
|
86
|
+
interactive: boolean; /** Required SAML configurations for IdPs with `skipVerify` flag enabled. */
|
|
142
87
|
options?: {
|
|
143
|
-
/** Toggle to allow IdP initated login by the SAML IdP. */
|
|
144
|
-
|
|
145
|
-
/** The
|
|
146
|
-
|
|
147
|
-
/** Mappings from claim name to an array of SAML attribute names that point to locations in the claims from the IdP to retrieve the value from. */
|
|
148
|
-
claimsMapping: ClaimsMappingSAML;
|
|
149
|
-
/** The entity ID for the SAML IdP. Required if metadata is not provided. */
|
|
150
|
-
entityId?: string;
|
|
151
|
-
/** Metadata for the SAML IdP. Required if individual SAML parameters are not provided. */
|
|
88
|
+
/** Toggle to allow IdP initated login by the SAML IdP. */allowIdpInitiatedLogin?: boolean; /** The certificates used for validating signed responses. Required if metadata is not provided. */
|
|
89
|
+
certificates?: CertificateInfo[]; /** Mappings from claim name to an array of SAML attribute names that point to locations in the claims from the IdP to retrieve the value from. */
|
|
90
|
+
claimsMapping: ClaimsMappingSAML; /** The entity ID for the SAML IdP. Required if metadata is not provided. */
|
|
91
|
+
entityId?: string; /** Metadata for the SAML IdP. Required if individual SAML parameters are not provided. */
|
|
152
92
|
metadata?: {
|
|
153
|
-
/** The IDP metadata XML in base64-encoded format. */
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
/** The name identifier format that will be requested from the identity provider. */
|
|
157
|
-
nameIdFormat?: "urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress" | "urn:oasis:names:tc:SAML:2.0:nameid-format:persistent" | "urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified";
|
|
158
|
-
/** The sign on URL for the SAML IdP. Required if metadata is not provided. */
|
|
93
|
+
/** The IDP metadata XML in base64-encoded format. */raw: string;
|
|
94
|
+
}; /** The name identifier format that will be requested from the identity provider. */
|
|
95
|
+
nameIdFormat?: "urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress" | "urn:oasis:names:tc:SAML:2.0:nameid-format:persistent" | "urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified"; /** The sign on URL for the SAML IdP. Required if metadata is not provided. */
|
|
159
96
|
signOnUrl?: string;
|
|
160
|
-
};
|
|
161
|
-
/** Required configurations for SAML IdPs that require verification. */
|
|
97
|
+
}; /** Required configurations for SAML IdPs that require verification. */
|
|
162
98
|
pendingOptions?: {
|
|
163
|
-
/** Toggle to allow IdP initated login by the SAML IdP. */
|
|
164
|
-
|
|
165
|
-
/** The
|
|
166
|
-
|
|
167
|
-
/** Mappings from claim name to an array of SAML attribute names that point to locations in the claims from the IdP to retrieve the value from. */
|
|
168
|
-
claimsMapping: ClaimsMappingSAML;
|
|
169
|
-
/** The entity ID for the SAML IdP. Required if metadata is not provided. */
|
|
170
|
-
entityId?: string;
|
|
171
|
-
/** Metadata for the SAML IdP. Required if individual SAML parameters are not provided. */
|
|
99
|
+
/** Toggle to allow IdP initated login by the SAML IdP. */allowIdpInitiatedLogin?: boolean; /** The certificates used for validating signed responses. Required if metadata is not provided. */
|
|
100
|
+
certificates?: CertificateInfo[]; /** Mappings from claim name to an array of SAML attribute names that point to locations in the claims from the IdP to retrieve the value from. */
|
|
101
|
+
claimsMapping: ClaimsMappingSAML; /** The entity ID for the SAML IdP. Required if metadata is not provided. */
|
|
102
|
+
entityId?: string; /** Metadata for the SAML IdP. Required if individual SAML parameters are not provided. */
|
|
172
103
|
metadata?: {
|
|
173
|
-
/** The IDP metadata XML in base64-encoded format. */
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
/** The name identifier format that will be requested from the identity provider. */
|
|
177
|
-
nameIdFormat?: "urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress" | "urn:oasis:names:tc:SAML:2.0:nameid-format:persistent" | "urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified";
|
|
178
|
-
/** The sign on URL for the SAML IdP. Required if metadata is not provided. */
|
|
104
|
+
/** The IDP metadata XML in base64-encoded format. */raw: string;
|
|
105
|
+
}; /** The name identifier format that will be requested from the identity provider. */
|
|
106
|
+
nameIdFormat?: "urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress" | "urn:oasis:names:tc:SAML:2.0:nameid-format:persistent" | "urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified"; /** The sign on URL for the SAML IdP. Required if metadata is not provided. */
|
|
179
107
|
signOnUrl?: string;
|
|
180
|
-
};
|
|
181
|
-
/**
|
|
182
|
-
|
|
183
|
-
/**
|
|
184
|
-
|
|
185
|
-
/** The identity provider to be used. */
|
|
186
|
-
provider: "okta" | "generic" | "adfs" | "azureAD";
|
|
187
|
-
/** If set to `true`, skips IdP verification process and assumes the IdP is verified. */
|
|
188
|
-
skipVerify?: boolean;
|
|
189
|
-
/** The tenant identifiers that map to the given IdP. */
|
|
108
|
+
}; /** Direct the user on logout to a specific URI. */
|
|
109
|
+
postLogoutRedirectUri?: string; /** The protocol to be used for communicating with the identity provider. */
|
|
110
|
+
protocol: "SAML"; /** The identity provider to be used. */
|
|
111
|
+
provider: "okta" | "generic" | "adfs" | "azureAD"; /** If set to `true`, skips IdP verification process and assumes the IdP is verified. */
|
|
112
|
+
skipVerify?: boolean; /** The tenant identifiers that map to the given IdP. */
|
|
190
113
|
tenantIds?: string[];
|
|
191
114
|
};
|
|
192
115
|
/**
|
|
193
116
|
* An error object.
|
|
194
117
|
*/
|
|
195
118
|
type Error = {
|
|
196
|
-
/** The error code. */
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
detail?: string;
|
|
200
|
-
/** Additional properties relating to the error. */
|
|
201
|
-
meta?: unknown;
|
|
202
|
-
/** References to the source of the error. */
|
|
119
|
+
/** The error code. */code: string; /** A human-readable explanation specific to this occurrence of the problem. */
|
|
120
|
+
detail?: string; /** Additional properties relating to the error. */
|
|
121
|
+
meta?: unknown; /** References to the source of the error. */
|
|
203
122
|
source?: {
|
|
204
|
-
/** The URI query parameter that caused the error. */
|
|
205
|
-
parameter?: string;
|
|
206
|
-
/** A JSON pointer to the property that caused the error. */
|
|
123
|
+
/** The URI query parameter that caused the error. */parameter?: string; /** A JSON pointer to the property that caused the error. */
|
|
207
124
|
pointer?: string;
|
|
208
|
-
};
|
|
209
|
-
/**
|
|
210
|
-
status?: number;
|
|
211
|
-
/** Summary of the problem. */
|
|
125
|
+
}; /** The HTTP status code. */
|
|
126
|
+
status?: number; /** Summary of the problem. */
|
|
212
127
|
title: string;
|
|
213
128
|
};
|
|
214
129
|
/**
|
|
@@ -219,9 +134,7 @@ type Errors = {
|
|
|
219
134
|
};
|
|
220
135
|
type IDP = IDPOIDC | IDPSAML | IDPJWTAuth;
|
|
221
136
|
type IDPArray = {
|
|
222
|
-
/** An array of IdPs. */
|
|
223
|
-
data?: IDP[];
|
|
224
|
-
/** Contains pagination links. */
|
|
137
|
+
/** An array of IdPs. */data?: IDP[]; /** Contains pagination links. */
|
|
225
138
|
links?: Links;
|
|
226
139
|
};
|
|
227
140
|
/**
|
|
@@ -229,20 +142,15 @@ type IDPArray = {
|
|
|
229
142
|
*/
|
|
230
143
|
type IDPJWTAuth = BaseIDP & {
|
|
231
144
|
options?: {
|
|
232
|
-
/** The expected JWT issuer */
|
|
233
|
-
issuer?: string;
|
|
145
|
+
/** The expected JWT issuer */issuer?: string;
|
|
234
146
|
staticKeys?: {
|
|
235
|
-
/** Key ID used to sign the JWTs. */
|
|
236
|
-
kid?: string;
|
|
237
|
-
/** Pem-encoded public key for verifying the JWTs. */
|
|
147
|
+
/** Key ID used to sign the JWTs. */kid?: string; /** Pem-encoded public key for verifying the JWTs. */
|
|
238
148
|
pem?: string;
|
|
239
149
|
}[];
|
|
240
150
|
};
|
|
241
151
|
};
|
|
242
152
|
type IDPMeta = {
|
|
243
|
-
/** A link to direct you to where you can upgrade your trial or manage your subscriptions. Only available if the default identity provider is used (no custom interactive identity providers are active). */
|
|
244
|
-
upgradeSubscriptionLink?: string;
|
|
245
|
-
/** A link to direct you to where you can manage your Qlik account. Only available if the default identity provider is used (no custom interactive identity providers are active). */
|
|
153
|
+
/** A link to direct you to where you can upgrade your trial or manage your subscriptions. Only available if the default identity provider is used (no custom interactive identity providers are active). */upgradeSubscriptionLink?: string; /** A link to direct you to where you can manage your Qlik account. Only available if the default identity provider is used (no custom interactive identity providers are active). */
|
|
246
154
|
userPortalLink?: string;
|
|
247
155
|
};
|
|
248
156
|
/**
|
|
@@ -251,32 +159,20 @@ type IDPMeta = {
|
|
|
251
159
|
type IDPOIDC = BaseIDP & {
|
|
252
160
|
options?: IDPOIDCOptions;
|
|
253
161
|
pendingOptions?: IDPOIDCOptions;
|
|
254
|
-
pendingResult?: PendingResult;
|
|
255
|
-
/** The state of pendingOptions. This represents the latest IdP test result. */
|
|
162
|
+
pendingResult?: PendingResult; /** The state of pendingOptions. This represents the latest IdP test result. */
|
|
256
163
|
pendingState?: "verified" | "pending" | "error";
|
|
257
164
|
};
|
|
258
165
|
type IDPOIDCOptions = {
|
|
259
|
-
/** If true, the `offline_access` scope will not be requested from the IdP, where applicable. */
|
|
260
|
-
|
|
261
|
-
/**
|
|
262
|
-
|
|
263
|
-
/** The
|
|
264
|
-
|
|
265
|
-
/**
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
/** The OpenID configuration endpoint. (Ex: https://<domain>/.well-known/openid-configuration). */
|
|
270
|
-
discoveryUrl?: string;
|
|
271
|
-
/** Determines if email_verified should be always true. This field is only used in ADFS and AzureAD IdPs. */
|
|
272
|
-
emailVerifiedAlwaysTrue?: boolean;
|
|
273
|
-
/** This field is only used in Qlik Sense Enterprise Client-Managed IdPs. */
|
|
274
|
-
issuer?: string;
|
|
275
|
-
/** OpenID configuration */
|
|
276
|
-
openid_configuration?: OpenIDConfiguration;
|
|
277
|
-
/** The realm identifier for the IdP. */
|
|
278
|
-
realm?: string;
|
|
279
|
-
/** Scope that will be sent along with token requests to the IdP. */
|
|
166
|
+
/** If true, the `offline_access` scope will not be requested from the IdP, where applicable. */blockOfflineAccessScope?: boolean; /** Mappings from claim name to an array of JSON pointers that point to locations in the claims from the IdP to retrieve the value from. */
|
|
167
|
+
claimsMapping?: ClaimsMappingInteractive; /** The client identifier used as part of authenticating an interactive identity provider. */
|
|
168
|
+
clientId?: string; /** The client secret used as part of authenticating an interactive identity provider. */
|
|
169
|
+
clientSecret?: string; /** A decrypting key used to decrypt OIDC encrypted assertions */
|
|
170
|
+
decryptingKey?: DecryptingKey; /** The OpenID configuration endpoint. (Ex: https://<domain>/.well-known/openid-configuration). */
|
|
171
|
+
discoveryUrl?: string; /** Determines if email_verified should be always true. This field is only used in ADFS and AzureAD IdPs. */
|
|
172
|
+
emailVerifiedAlwaysTrue?: boolean; /** This field is only used in Qlik Sense Enterprise Client-Managed IdPs. */
|
|
173
|
+
issuer?: string; /** OpenID configuration */
|
|
174
|
+
openid_configuration?: OpenIDConfiguration; /** The realm identifier for the IdP. */
|
|
175
|
+
realm?: string; /** Scope that will be sent along with token requests to the IdP. */
|
|
280
176
|
scope?: string;
|
|
281
177
|
};
|
|
282
178
|
type IDPPatchSchema = PatchOIDCPayload[] | PatchSAMLPayload[] | PatchJWTAuthPayload[];
|
|
@@ -295,38 +191,24 @@ type IDPProvider = "auth0" | "okta" | "qlik" | "generic" | "salesforce" | "keycl
|
|
|
295
191
|
type IDPSAML = BaseIDP & {
|
|
296
192
|
options?: IDPSAMLOptions;
|
|
297
193
|
pendingOptions?: IDPSAMLOptions;
|
|
298
|
-
pendingResult?: PendingResult;
|
|
299
|
-
/** The state of pendingOptions. This represents the latest IdP test result. */
|
|
194
|
+
pendingResult?: PendingResult; /** The state of pendingOptions. This represents the latest IdP test result. */
|
|
300
195
|
pendingState?: "verified" | "pending" | "error";
|
|
301
196
|
};
|
|
302
197
|
type IDPSAMLOptions = {
|
|
303
|
-
/** Toggle to allow IdP initated login by the SAML IdP. */
|
|
304
|
-
|
|
305
|
-
/** The
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
/**
|
|
310
|
-
entityId?: string;
|
|
311
|
-
/** The name identifier format that will be requested from the identity provider. */
|
|
312
|
-
nameIdFormat?: "urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress" | "urn:oasis:names:tc:SAML:2.0:nameid-format:persistent" | "urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified";
|
|
313
|
-
/** The sign on URL for the SAML IdP. */
|
|
314
|
-
signOnUrl?: string;
|
|
315
|
-
/** The reference ID of the chosen signing key pair. */
|
|
316
|
-
signingKeySelectedRefId?: string;
|
|
317
|
-
/** Set of certificates used to sign SAMLRequest payloads. Not present in `pendingOptions`. */
|
|
198
|
+
/** Toggle to allow IdP initated login by the SAML IdP. */allowIdpInitiatedLogin?: boolean; /** The certificates used for validating signed responses. */
|
|
199
|
+
certificates?: CertificateInfo[]; /** Mappings from claim name to an array of SAML attribute names that point to locations in the claims from the IdP to retrieve the value from. */
|
|
200
|
+
claimsMapping?: ClaimsMappingSAML; /** The entity URL for the SAML IdP. */
|
|
201
|
+
entityId?: string; /** The name identifier format that will be requested from the identity provider. */
|
|
202
|
+
nameIdFormat?: "urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress" | "urn:oasis:names:tc:SAML:2.0:nameid-format:persistent" | "urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified"; /** The sign on URL for the SAML IdP. */
|
|
203
|
+
signOnUrl?: string; /** The reference ID of the chosen signing key pair. */
|
|
204
|
+
signingKeySelectedRefId?: string; /** Set of certificates used to sign SAMLRequest payloads. Not present in `pendingOptions`. */
|
|
318
205
|
signingKeys?: SigningKey[];
|
|
319
206
|
};
|
|
320
207
|
type IDPsStatus = {
|
|
321
|
-
/** The number of active interactive IdPs. */
|
|
322
|
-
active_interactive_idps_count?: number;
|
|
323
|
-
/** A list of IdP metadata. */
|
|
208
|
+
/** The number of active interactive IdPs. */active_interactive_idps_count?: number; /** A list of IdP metadata. */
|
|
324
209
|
idps_metadata?: {
|
|
325
|
-
/** Indicates whether the IdP is available for use. */
|
|
326
|
-
|
|
327
|
-
/** Indicates whether the IdP is meant for interactive login. */
|
|
328
|
-
interactive?: boolean;
|
|
329
|
-
/** The identity provider to be used. If protocol is `OIDC`, the valid values are `auth0`, `okta`, `generic`, `salesforce`, `keycloak`, `adfs`, and `azureAD`. If protocol is `jwtAuth`, the valid value is `external`. */
|
|
210
|
+
/** Indicates whether the IdP is available for use. */active?: boolean; /** Indicates whether the IdP is meant for interactive login. */
|
|
211
|
+
interactive?: boolean; /** The identity provider to be used. If protocol is `OIDC`, the valid values are `auth0`, `okta`, `generic`, `salesforce`, `keycloak`, `adfs`, and `azureAD`. If protocol is `jwtAuth`, the valid value is `external`. */
|
|
330
212
|
provider?: IDPProvider;
|
|
331
213
|
}[];
|
|
332
214
|
};
|
|
@@ -335,164 +217,110 @@ type IDPsStatus = {
|
|
|
335
217
|
*/
|
|
336
218
|
type Links = {
|
|
337
219
|
next?: {
|
|
338
|
-
/** Link to the next page of items. */
|
|
339
|
-
href?: string;
|
|
220
|
+
/** Link to the next page of items. */href?: string;
|
|
340
221
|
};
|
|
341
222
|
prev?: {
|
|
342
|
-
/** Link to the previous page of items. */
|
|
343
|
-
href?: string;
|
|
223
|
+
/** Link to the previous page of items. */href?: string;
|
|
344
224
|
};
|
|
345
225
|
self?: {
|
|
346
|
-
/** Link to the current page of items. */
|
|
347
|
-
href?: string;
|
|
226
|
+
/** Link to the current page of items. */href?: string;
|
|
348
227
|
};
|
|
349
228
|
};
|
|
350
229
|
/**
|
|
351
230
|
* OpenID configuration
|
|
352
231
|
*/
|
|
353
232
|
type OpenIDConfiguration = {
|
|
354
|
-
/** OAuth 2.0 Authorization Endpoint */
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
/** OpenID Provider issuer */
|
|
361
|
-
issuer: string;
|
|
362
|
-
/** URL of the OP's JSON Web Key Set [JWK] document */
|
|
363
|
-
jwks_uri: string;
|
|
364
|
-
/** OAuth 2.0 Token Endpoint */
|
|
365
|
-
token_endpoint: string;
|
|
366
|
-
/** URL of the OP's UserInfo Endpoint */
|
|
233
|
+
/** OAuth 2.0 Authorization Endpoint */authorization_endpoint: string; /** URL at the OP to which an RP can perform a redirect to request that the End-User be logged out at the OP. */
|
|
234
|
+
end_session_endpoint?: string; /** The introspection endpoint is an OAuth 2.0 endpoint that takes a parameter representing an OAuth 2.0 token and returns a JSON [RFC7159] document representing the meta information. */
|
|
235
|
+
introspection_endpoint?: string; /** OpenID Provider issuer */
|
|
236
|
+
issuer: string; /** URL of the OP's JSON Web Key Set [JWK] document */
|
|
237
|
+
jwks_uri: string; /** OAuth 2.0 Token Endpoint */
|
|
238
|
+
token_endpoint: string; /** URL of the OP's UserInfo Endpoint */
|
|
367
239
|
userinfo_endpoint?: string;
|
|
368
240
|
};
|
|
369
241
|
/**
|
|
370
242
|
* A patch request for an identity provider using the `jwtAuth` protocol.
|
|
371
243
|
*/
|
|
372
244
|
type PatchJWTAuthPayload = {
|
|
373
|
-
/** The "operation" to be performed on a given IdP. */
|
|
374
|
-
|
|
375
|
-
/** The "path" to the part of the IdP document. */
|
|
376
|
-
path?: "/description";
|
|
377
|
-
/** The "value" data type is dependent on the path value being used. */
|
|
245
|
+
/** The "operation" to be performed on a given IdP. */op: "replace"; /** The "path" to the part of the IdP document. */
|
|
246
|
+
path?: "/description"; /** The "value" data type is dependent on the path value being used. */
|
|
378
247
|
value?: unknown;
|
|
379
248
|
};
|
|
380
249
|
/**
|
|
381
250
|
* A patch request for an identity provider using the `OIDC` protocol.
|
|
382
251
|
*/
|
|
383
252
|
type PatchOIDCPayload = {
|
|
384
|
-
/** The "operation" to be performed on a given IdP. Currently supports a custom operation value called "promote-options" that allows the test configuration to be promoted to the current configuration used for login. */
|
|
385
|
-
|
|
386
|
-
/** The "path" to the part of the IdP document. */
|
|
387
|
-
path?: "/active" | "/description" | "/meta" | "/options" | "/options/realm" | "/options/discoveryUrl" | "/options/claimsMapping" | "/pendingOptions" | "/pendingOptions/realm" | "/pendingOptions/discoveryUrl" | "/pendingOptions/clientId" | "/pendingOptions/clientSecret" | "/pendingOptions/emailVerifiedAlwaysTrue" | "/pendingOptions/claimsMapping" | "/postLogoutRedirectUri" | "/clockToleranceSec" | "/pendingOptions/idTokenSignatureAlg" | "/pendingOptions/decryptingKey";
|
|
388
|
-
/** The "value" data type is dependent on the path value being used. */
|
|
253
|
+
/** The "operation" to be performed on a given IdP. Currently supports a custom operation value called "promote-options" that allows the test configuration to be promoted to the current configuration used for login. */op: "replace" | "promote-options"; /** The "path" to the part of the IdP document. */
|
|
254
|
+
path?: "/active" | "/description" | "/meta" | "/options" | "/options/realm" | "/options/discoveryUrl" | "/options/claimsMapping" | "/pendingOptions" | "/pendingOptions/realm" | "/pendingOptions/discoveryUrl" | "/pendingOptions/clientId" | "/pendingOptions/clientSecret" | "/pendingOptions/emailVerifiedAlwaysTrue" | "/pendingOptions/claimsMapping" | "/postLogoutRedirectUri" | "/clockToleranceSec" | "/pendingOptions/idTokenSignatureAlg" | "/pendingOptions/decryptingKey"; /** The "value" data type is dependent on the path value being used. */
|
|
389
255
|
value?: unknown;
|
|
390
256
|
};
|
|
391
257
|
/**
|
|
392
258
|
* A patch request for an identity provider using the `SAML` protocol. Supports a custom operation value called `promote-options` that allows the test configuration (`pendingOptions`) to be promoted to the live configuration (`options`) used for login.'
|
|
393
259
|
*/
|
|
394
260
|
type PatchSAMLPayload = {
|
|
395
|
-
/** The "operation" to be performed on a given IdP. */
|
|
396
|
-
|
|
397
|
-
/** The "path" to the part of the IdP document. */
|
|
398
|
-
path?: "/active" | "/description" | "/pendingOptions" | "/pendingOptions/nameIdFormat" | "/pendingOptions/allowIdpInitiatedLogin" | "/pendingOptions/entityId" | "/pendingOptions/signOnUrl" | "/pendingOptions/metadata" | "/pendingOptions/certificates" | "/pendingOptions/claimsMapping" | "/postLogoutRedirectUri" | "/clockToleranceSec";
|
|
399
|
-
/** The "value" data type is dependent on the path value being used. */
|
|
261
|
+
/** The "operation" to be performed on a given IdP. */op: "replace" | "promote-options"; /** The "path" to the part of the IdP document. */
|
|
262
|
+
path?: "/active" | "/description" | "/pendingOptions" | "/pendingOptions/nameIdFormat" | "/pendingOptions/allowIdpInitiatedLogin" | "/pendingOptions/entityId" | "/pendingOptions/signOnUrl" | "/pendingOptions/metadata" | "/pendingOptions/certificates" | "/pendingOptions/claimsMapping" | "/postLogoutRedirectUri" | "/clockToleranceSec"; /** The "value" data type is dependent on the path value being used. */
|
|
400
263
|
value?: unknown;
|
|
401
264
|
};
|
|
402
265
|
type PendingResult = {
|
|
403
|
-
/** A unique readable error message based on the error that has occurred. */
|
|
404
|
-
error?: string;
|
|
405
|
-
/** The claims retrieved from the external IdP. */
|
|
266
|
+
/** A unique readable error message based on the error that has occurred. */error?: string; /** The claims retrieved from the external IdP. */
|
|
406
267
|
idpClaims?: unknown;
|
|
407
268
|
oauth2Error?: {
|
|
408
|
-
/** An error code to identity the authentication error. */
|
|
409
|
-
|
|
410
|
-
/** An optional human-readable description for the given error code. */
|
|
411
|
-
errorDescription?: string;
|
|
412
|
-
/** An optional URI that includes additional information about the given error. */
|
|
269
|
+
/** An error code to identity the authentication error. */error: string; /** An optional human-readable description for the given error code. */
|
|
270
|
+
errorDescription?: string; /** An optional URI that includes additional information about the given error. */
|
|
413
271
|
errorURI?: string;
|
|
414
|
-
};
|
|
415
|
-
/** The
|
|
416
|
-
|
|
417
|
-
/** The
|
|
418
|
-
resultantClaims?: unknown;
|
|
419
|
-
/** The timestamp for when the test was started for an IdP configuration. This field is only available during lifespan of the test. */
|
|
420
|
-
started?: string;
|
|
421
|
-
/** The status of the IdP configuration being tested. */
|
|
272
|
+
}; /** The protocol used to communicate with the IdP during the test flow. */
|
|
273
|
+
protocol?: "OIDC" | "SAML"; /** The resultant claims based on the claims received from the external IdP. */
|
|
274
|
+
resultantClaims?: unknown; /** The timestamp for when the test was started for an IdP configuration. This field is only available during lifespan of the test. */
|
|
275
|
+
started?: string; /** The status of the IdP configuration being tested. */
|
|
422
276
|
status: "success" | "pending" | "error" | "claimsError" | "callbackError" | "tokenError" | "protocolError" | "networkError" | "configChangedDuringTestError";
|
|
423
277
|
};
|
|
424
278
|
type SigningKey = {
|
|
425
|
-
/** The certificate to be uploaded to the identity provider for verifying SAML requests. */
|
|
426
|
-
certificate?: string;
|
|
427
|
-
/** The reference ID for choosing this key pair. */
|
|
279
|
+
/** The certificate to be uploaded to the identity provider for verifying SAML requests. */certificate?: string; /** The reference ID for choosing this key pair. */
|
|
428
280
|
refId?: string;
|
|
429
281
|
};
|
|
430
282
|
/**
|
|
431
283
|
* Mappings from claim name to an array of JSON pointers that point to locations in the claims from the IdP to retrieve the value from.
|
|
432
284
|
*/
|
|
433
285
|
type ClaimsMappingInteractive = {
|
|
434
|
-
/** A list of JSON pointers used to map the user's client ID. */
|
|
435
|
-
|
|
436
|
-
/** A list of JSON pointers used to map the user's
|
|
437
|
-
|
|
438
|
-
/** A list of JSON pointers used to map the user's
|
|
439
|
-
|
|
440
|
-
/** A list of JSON pointers used to map the user's
|
|
441
|
-
|
|
442
|
-
/** A list of JSON pointers used to map the user's locale. */
|
|
443
|
-
locale?: string[];
|
|
444
|
-
/** A list of JSON pointers used to map the user's name. */
|
|
445
|
-
name?: string[];
|
|
446
|
-
/** A list of JSON pointers used to map the user's picture. */
|
|
447
|
-
picture?: string[];
|
|
448
|
-
/** A list of JSON pointers used to map the user's subject. */
|
|
449
|
-
sub?: string[];
|
|
450
|
-
/** A list of JSON pointers used to map the user's zoneinfo. */
|
|
286
|
+
/** A list of JSON pointers used to map the user's client ID. */client_id?: string[]; /** A list of JSON pointers used to map the user's email. */
|
|
287
|
+
email?: string[]; /** A list of JSON pointers used to map the user's email_verified claim. */
|
|
288
|
+
email_verified?: string[]; /** A list of JSON pointers used to map the user's groups. */
|
|
289
|
+
groups?: string[]; /** A list of JSON pointers used to map the user's locale. */
|
|
290
|
+
locale?: string[]; /** A list of JSON pointers used to map the user's name. */
|
|
291
|
+
name?: string[]; /** A list of JSON pointers used to map the user's picture. */
|
|
292
|
+
picture?: string[]; /** A list of JSON pointers used to map the user's subject. */
|
|
293
|
+
sub?: string[]; /** A list of JSON pointers used to map the user's zoneinfo. */
|
|
451
294
|
zoneinfo?: string[];
|
|
452
295
|
};
|
|
453
296
|
/**
|
|
454
297
|
* Mappings from claim name to an array of JSON pointers that point to locations in the claims from the IdP to retrieve the value from.
|
|
455
298
|
*/
|
|
456
299
|
type ClaimsMappingNonInteractive = {
|
|
457
|
-
/** A list of JSON pointers used to map the user's client ID. */
|
|
458
|
-
client_id?: string[];
|
|
459
|
-
/** A list of JSON pointers used to map the user's subject. */
|
|
300
|
+
/** A list of JSON pointers used to map the user's client ID. */client_id?: string[]; /** A list of JSON pointers used to map the user's subject. */
|
|
460
301
|
sub?: string[];
|
|
461
302
|
};
|
|
462
303
|
/**
|
|
463
304
|
* Mappings from claim name to an array of SAML attribute names that point to locations in the claims from the IdP to retrieve the value from.
|
|
464
305
|
*/
|
|
465
306
|
type ClaimsMappingSAML = {
|
|
466
|
-
/** A list of SAML attributes used to map the user's email. */
|
|
467
|
-
|
|
468
|
-
/** A list of SAML attributes used to map the user's
|
|
469
|
-
|
|
470
|
-
/** A list of SAML attributes used to map the user's name. */
|
|
471
|
-
name: string[];
|
|
472
|
-
/** A list of SAML attributes used to map the user's picture. */
|
|
473
|
-
picture: string[];
|
|
474
|
-
/** A list of SAML attributes used to map the user's subject. */
|
|
307
|
+
/** A list of SAML attributes used to map the user's email. */email: string[]; /** A list of SAML attributes used to map the user's groups. */
|
|
308
|
+
groups: string[]; /** A list of SAML attributes used to map the user's name. */
|
|
309
|
+
name: string[]; /** A list of SAML attributes used to map the user's picture. */
|
|
310
|
+
picture: string[]; /** A list of SAML attributes used to map the user's subject. */
|
|
475
311
|
sub: string[];
|
|
476
312
|
};
|
|
477
313
|
/**
|
|
478
314
|
* A decrypting key used to decrypt OIDC encrypted assertions
|
|
479
315
|
*/
|
|
480
316
|
type DecryptingKey = {
|
|
481
|
-
/** The key's certificate in pem format */
|
|
482
|
-
|
|
483
|
-
/** The
|
|
484
|
-
|
|
485
|
-
/** The
|
|
486
|
-
|
|
487
|
-
/** The public key in
|
|
488
|
-
jwks?: string;
|
|
489
|
-
/** The id of the decrypting key */
|
|
490
|
-
keyId?: string;
|
|
491
|
-
/** The algorithm size of the decrypting key */
|
|
492
|
-
keySize: number;
|
|
493
|
-
/** The algorithm type of the decrypting key */
|
|
494
|
-
keyType: string;
|
|
495
|
-
/** The public key in pem format */
|
|
317
|
+
/** The key's certificate in pem format */certificate?: string; /** The timestamp for when the decrypting key was created. */
|
|
318
|
+
createdAt?: string; /** The user id of the user who created the decrypting key */
|
|
319
|
+
createdBy?: string; /** The public key in jwk format */
|
|
320
|
+
jwks?: string; /** The id of the decrypting key */
|
|
321
|
+
keyId?: string; /** The algorithm size of the decrypting key */
|
|
322
|
+
keySize: number; /** The algorithm type of the decrypting key */
|
|
323
|
+
keyType: string; /** The public key in pem format */
|
|
496
324
|
publicKey?: string;
|
|
497
325
|
};
|
|
498
326
|
/**
|
|
@@ -502,13 +330,9 @@ type DecryptingKey = {
|
|
|
502
330
|
* @throws GetIdpsHttpError
|
|
503
331
|
*/
|
|
504
332
|
declare function getIdps(query: {
|
|
505
|
-
/** If provided, filters the results by the active field. */
|
|
506
|
-
|
|
507
|
-
/** The
|
|
508
|
-
limit?: number;
|
|
509
|
-
/** The next page cursor. */
|
|
510
|
-
next?: string;
|
|
511
|
-
/** The previous page cursor. */
|
|
333
|
+
/** If provided, filters the results by the active field. */active?: boolean; /** The number of IdP entries to retrieve. */
|
|
334
|
+
limit?: number; /** The next page cursor. */
|
|
335
|
+
next?: string; /** The previous page cursor. */
|
|
512
336
|
prev?: string;
|
|
513
337
|
}, options?: ApiCallOptions): Promise<GetIdpsHttpResponse>;
|
|
514
338
|
type GetIdpsHttpResponse = {
|