Skip to content

Commit 04e0a53

Browse files
stainless-app[bot]stainless-bot
authored andcommitted
feat: OpenAPI spec update via Stainless API (#141)
1 parent c6e5cf0 commit 04e0a53

File tree

2 files changed

+50
-0
lines changed

2 files changed

+50
-0
lines changed

src/resources/zero-trust/identity-providers.ts

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -297,6 +297,18 @@ export namespace AccessIdentityProviders {
297297
*/
298298
email_claim_name?: string;
299299

300+
/**
301+
* Indicates the type of user interaction that is required. prompt=login forces the
302+
* user to enter their credentials on that request, negating single-sign on.
303+
* prompt=none is the opposite. It ensures that the user isn't presented with any
304+
* interactive prompt. If the request can't be completed silently by using
305+
* single-sign on, the Microsoft identity platform returns an interaction_required
306+
* error. prompt=select_account interrupts single sign-on providing account
307+
* selection experience listing all the accounts either in session or any
308+
* remembered account or an option to choose to use a different account altogether.
309+
*/
310+
prompt?: 'login' | 'select_account' | 'none';
311+
300312
/**
301313
* Should Cloudflare try to load groups from your account
302314
*/
@@ -1932,6 +1944,18 @@ export namespace IdentityProviderListResponse {
19321944
*/
19331945
email_claim_name?: string;
19341946

1947+
/**
1948+
* Indicates the type of user interaction that is required. prompt=login forces the
1949+
* user to enter their credentials on that request, negating single-sign on.
1950+
* prompt=none is the opposite. It ensures that the user isn't presented with any
1951+
* interactive prompt. If the request can't be completed silently by using
1952+
* single-sign on, the Microsoft identity platform returns an interaction_required
1953+
* error. prompt=select_account interrupts single sign-on providing account
1954+
* selection experience listing all the accounts either in session or any
1955+
* remembered account or an option to choose to use a different account altogether.
1956+
*/
1957+
prompt?: 'login' | 'select_account' | 'none';
1958+
19351959
/**
19361960
* Should Cloudflare try to load groups from your account
19371961
*/
@@ -3542,6 +3566,18 @@ export namespace IdentityProviderCreateParams {
35423566
*/
35433567
ping_env_id?: string;
35443568

3569+
/**
3570+
* Indicates the type of user interaction that is required. prompt=login forces the
3571+
* user to enter their credentials on that request, negating single-sign on.
3572+
* prompt=none is the opposite. It ensures that the user isn't presented with any
3573+
* interactive prompt. If the request can't be completed silently by using
3574+
* single-sign on, the Microsoft identity platform returns an interaction_required
3575+
* error. prompt=select_account interrupts single sign-on providing account
3576+
* selection experience listing all the accounts either in session or any
3577+
* remembered account or an option to choose to use a different account altogether.
3578+
*/
3579+
prompt?: 'login' | 'select_account' | 'none';
3580+
35453581
/**
35463582
* OAuth scopes
35473583
*/
@@ -3772,6 +3808,18 @@ export namespace IdentityProviderUpdateParams {
37723808
*/
37733809
ping_env_id?: string;
37743810

3811+
/**
3812+
* Indicates the type of user interaction that is required. prompt=login forces the
3813+
* user to enter their credentials on that request, negating single-sign on.
3814+
* prompt=none is the opposite. It ensures that the user isn't presented with any
3815+
* interactive prompt. If the request can't be completed silently by using
3816+
* single-sign on, the Microsoft identity platform returns an interaction_required
3817+
* error. prompt=select_account interrupts single sign-on providing account
3818+
* selection experience listing all the accounts either in session or any
3819+
* remembered account or an option to choose to use a different account altogether.
3820+
*/
3821+
prompt?: 'login' | 'select_account' | 'none';
3822+
37753823
/**
37763824
* OAuth scopes
37773825
*/

tests/api-resources/zero-trust/identity-providers.test.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ describe('resource identityProviders', () => {
3636
email_claim_name: 'custom_claim_name',
3737
conditional_access_enabled: true,
3838
directory_id: '<your azure directory uuid>',
39+
prompt: 'login',
3940
support_groups: true,
4041
centrify_account: 'https://abc123.my.centrify.com/',
4142
centrify_app_id: 'exampleapp',
@@ -101,6 +102,7 @@ describe('resource identityProviders', () => {
101102
email_claim_name: 'custom_claim_name',
102103
conditional_access_enabled: true,
103104
directory_id: '<your azure directory uuid>',
105+
prompt: 'login',
104106
support_groups: true,
105107
centrify_account: 'https://abc123.my.centrify.com/',
106108
centrify_app_id: 'exampleapp',

0 commit comments

Comments
 (0)