@@ -517,6 +517,8 @@ export namespace Application {
517
517
518
518
created_at ?: string ;
519
519
520
+ custom_claims ?: AccessOIDCSaasApp . CustomClaims ;
521
+
520
522
/**
521
523
* The OIDC flows supported by this application
522
524
*/
@@ -545,6 +547,41 @@ export namespace Application {
545
547
546
548
updated_at ?: string ;
547
549
}
550
+
551
+ export namespace AccessOIDCSaasApp {
552
+ export interface CustomClaims {
553
+ /**
554
+ * The name of the claim.
555
+ */
556
+ name ?: string ;
557
+
558
+ /**
559
+ * A mapping from IdP ID to claim name.
560
+ */
561
+ name_by_idp ?: Record < string , string > ;
562
+
563
+ /**
564
+ * If the claim is required when building an OIDC token.
565
+ */
566
+ required ?: boolean ;
567
+
568
+ /**
569
+ * The scope of the claim.
570
+ */
571
+ scope ?: 'groups' | 'profile' | 'email' | 'openid' ;
572
+
573
+ source ?: CustomClaims . Source ;
574
+ }
575
+
576
+ export namespace CustomClaims {
577
+ export interface Source {
578
+ /**
579
+ * The name of the IdP claim.
580
+ */
581
+ name ?: string ;
582
+ }
583
+ }
584
+ }
548
585
}
549
586
550
587
export interface BrowserSSHApplication {
@@ -1104,6 +1141,11 @@ export interface SaasAppSource {
1104
1141
* The name of the IdP attribute.
1105
1142
*/
1106
1143
name ?: string ;
1144
+
1145
+ /**
1146
+ * A mapping from IdP ID to attribute name.
1147
+ */
1148
+ name_by_idp ?: Record < string , string > ;
1107
1149
}
1108
1150
1109
1151
export interface SAMLSaasApp {
@@ -1176,6 +1218,11 @@ export interface SAMLSaasApp {
1176
1218
1177
1219
export namespace SAMLSaasApp {
1178
1220
export interface CustomAttributes {
1221
+ /**
1222
+ * The SAML FriendlyName of the attribute.
1223
+ */
1224
+ friendly_name ?: string ;
1225
+
1179
1226
/**
1180
1227
* The name of the attribute.
1181
1228
*/
@@ -1186,6 +1233,11 @@ export namespace SAMLSaasApp {
1186
1233
*/
1187
1234
name_format ?: ApplicationsAPI . SaasAppNameFormat ;
1188
1235
1236
+ /**
1237
+ * If the attribute is required when building a SAML assertion.
1238
+ */
1239
+ required ?: boolean ;
1240
+
1189
1241
source ?: ApplicationsAPI . SaasAppSource ;
1190
1242
}
1191
1243
}
@@ -1450,6 +1502,8 @@ export namespace ApplicationCreateParams {
1450
1502
*/
1451
1503
client_secret ?: string ;
1452
1504
1505
+ custom_claims ?: AccessOIDCSaasApp . CustomClaims ;
1506
+
1453
1507
/**
1454
1508
* The OIDC flows supported by this application
1455
1509
*/
@@ -1476,6 +1530,41 @@ export namespace ApplicationCreateParams {
1476
1530
*/
1477
1531
scopes ?: Array < 'openid' | 'groups' | 'email' | 'profile' > ;
1478
1532
}
1533
+
1534
+ export namespace AccessOIDCSaasApp {
1535
+ export interface CustomClaims {
1536
+ /**
1537
+ * The name of the claim.
1538
+ */
1539
+ name ?: string ;
1540
+
1541
+ /**
1542
+ * A mapping from IdP ID to claim name.
1543
+ */
1544
+ name_by_idp ?: Record < string , string > ;
1545
+
1546
+ /**
1547
+ * If the claim is required when building an OIDC token.
1548
+ */
1549
+ required ?: boolean ;
1550
+
1551
+ /**
1552
+ * The scope of the claim.
1553
+ */
1554
+ scope ?: 'groups' | 'profile' | 'email' | 'openid' ;
1555
+
1556
+ source ?: CustomClaims . Source ;
1557
+ }
1558
+
1559
+ export namespace CustomClaims {
1560
+ export interface Source {
1561
+ /**
1562
+ * The name of the IdP claim.
1563
+ */
1564
+ name ?: string ;
1565
+ }
1566
+ }
1567
+ }
1479
1568
}
1480
1569
1481
1570
export interface BrowserSSHApplication {
@@ -2182,6 +2271,8 @@ export namespace ApplicationUpdateParams {
2182
2271
*/
2183
2272
client_secret ?: string ;
2184
2273
2274
+ custom_claims ?: AccessOIDCSaasApp . CustomClaims ;
2275
+
2185
2276
/**
2186
2277
* The OIDC flows supported by this application
2187
2278
*/
@@ -2208,6 +2299,41 @@ export namespace ApplicationUpdateParams {
2208
2299
*/
2209
2300
scopes ?: Array < 'openid' | 'groups' | 'email' | 'profile' > ;
2210
2301
}
2302
+
2303
+ export namespace AccessOIDCSaasApp {
2304
+ export interface CustomClaims {
2305
+ /**
2306
+ * The name of the claim.
2307
+ */
2308
+ name ?: string ;
2309
+
2310
+ /**
2311
+ * A mapping from IdP ID to claim name.
2312
+ */
2313
+ name_by_idp ?: Record < string , string > ;
2314
+
2315
+ /**
2316
+ * If the claim is required when building an OIDC token.
2317
+ */
2318
+ required ?: boolean ;
2319
+
2320
+ /**
2321
+ * The scope of the claim.
2322
+ */
2323
+ scope ?: 'groups' | 'profile' | 'email' | 'openid' ;
2324
+
2325
+ source ?: CustomClaims . Source ;
2326
+ }
2327
+
2328
+ export namespace CustomClaims {
2329
+ export interface Source {
2330
+ /**
2331
+ * The name of the IdP claim.
2332
+ */
2333
+ name ?: string ;
2334
+ }
2335
+ }
2336
+ }
2211
2337
}
2212
2338
2213
2339
export interface BrowserSSHApplication {
0 commit comments