Skip to content

Commit d0c1930

Browse files
feat(api): api update
1 parent 5170c8a commit d0c1930

2 files changed

Lines changed: 61 additions & 1 deletion

File tree

.stats.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 30
22
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/arcade-ai%2Farcade-engine-f5fe6dab09f0766f1c01cec4951802c6a83945ce0c4cba226990134098508c2f.yml
3-
openapi_spec_hash: 58067af4f7f7ffcb6bd3d85d8e1944d7
3+
openapi_spec_hash: 2923fbda6c2899ade719d00540c34ff6
44
config_hash: 2d4163acdeacd75903f978cd79c35d14

src/resources/admin/auth-providers.ts

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -426,6 +426,8 @@ export namespace AuthProviderUpdateRequest {
426426

427427
scope_delimiter?: ',' | ' ';
428428

429+
token_introspection_request?: Oauth2.TokenIntrospectionRequest;
430+
429431
token_request?: Oauth2.TokenRequest;
430432

431433
user_info_request?: Oauth2.UserInfoRequest;
@@ -474,6 +476,34 @@ export namespace AuthProviderUpdateRequest {
474476
response_map?: { [key: string]: string };
475477
}
476478

479+
export interface TokenIntrospectionRequest {
480+
auth_header_value_format?: string;
481+
482+
auth_method?: string;
483+
484+
endpoint?: string;
485+
486+
method?: string;
487+
488+
params?: { [key: string]: string };
489+
490+
request_content_type?: 'application/x-www-form-urlencoded' | 'application/json';
491+
492+
response_content_type?: 'application/x-www-form-urlencoded' | 'application/json';
493+
494+
response_map?: { [key: string]: string };
495+
496+
triggers?: TokenIntrospectionRequest.Triggers;
497+
}
498+
499+
export namespace TokenIntrospectionRequest {
500+
export interface Triggers {
501+
on_token_grant?: boolean;
502+
503+
on_token_refresh?: boolean;
504+
}
505+
}
506+
477507
export interface TokenRequest {
478508
auth_header_value_format?: string;
479509

@@ -721,6 +751,8 @@ export namespace AuthProviderPatchParams {
721751

722752
scope_delimiter?: ',' | ' ';
723753

754+
token_introspection_request?: Oauth2.TokenIntrospectionRequest;
755+
724756
token_request?: Oauth2.TokenRequest;
725757

726758
user_info_request?: Oauth2.UserInfoRequest;
@@ -769,6 +801,34 @@ export namespace AuthProviderPatchParams {
769801
response_map?: { [key: string]: string };
770802
}
771803

804+
export interface TokenIntrospectionRequest {
805+
auth_header_value_format?: string;
806+
807+
auth_method?: string;
808+
809+
endpoint?: string;
810+
811+
method?: string;
812+
813+
params?: { [key: string]: string };
814+
815+
request_content_type?: 'application/x-www-form-urlencoded' | 'application/json';
816+
817+
response_content_type?: 'application/x-www-form-urlencoded' | 'application/json';
818+
819+
response_map?: { [key: string]: string };
820+
821+
triggers?: TokenIntrospectionRequest.Triggers;
822+
}
823+
824+
export namespace TokenIntrospectionRequest {
825+
export interface Triggers {
826+
on_token_grant?: boolean;
827+
828+
on_token_refresh?: boolean;
829+
}
830+
}
831+
772832
export interface TokenRequest {
773833
auth_header_value_format?: string;
774834

0 commit comments

Comments
 (0)