Skip to content

Commit 410b647

Browse files
feat: Expose browser_session_id on managed auth connection
1 parent 4ba0696 commit 410b647

2 files changed

Lines changed: 9 additions & 2 deletions

File tree

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 112
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/kernel%2Fkernel-686a9addd4f9356ca26ff3ff04e1a11466d77a412859829075566394922b715d.yml
3-
openapi_spec_hash: 7a9e9c2023400d44bcbfb87b7ec07708
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/kernel%2Fkernel-e14974fd90680e5745b35d8718a1ccce2181f6d17a6e0a1fd35fc5bca88795ae.yml
3+
openapi_spec_hash: 1b3aa75f0ab48b122d514047f9c82873
44
config_hash: 08d55086449943a8fec212b870061a3f

src/resources/auth/connections.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -244,6 +244,13 @@ export interface ManagedAuth {
244244
*/
245245
allowed_domains?: Array<string>;
246246

247+
/**
248+
* ID of the underlying browser session driving the current flow (present when flow
249+
* in progress). Use this to inspect or terminate the browser session via the
250+
* `/browsers` API.
251+
*/
252+
browser_session_id?: string | null;
253+
247254
/**
248255
* Whether automatic re-authentication is possible (has credential, selectors, and
249256
* login_url)

0 commit comments

Comments
 (0)