Skip to content

Commit 0ccb507

Browse files
feat: Expose browser_session_id on managed auth connection
1 parent 6c9cdf3 commit 0ccb507

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/kernel/types/auth/managed_auth.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,13 @@ class ManagedAuth(BaseModel):
157157
- Ping Identity: _.pingone.com, _.pingidentity.com
158158
"""
159159

160+
browser_session_id: Optional[str] = None
161+
"""
162+
ID of the underlying browser session driving the current flow (present when flow
163+
in progress). Use this to inspect or terminate the browser session via the
164+
`/browsers` API.
165+
"""
166+
160167
can_reauth: Optional[bool] = None
161168
"""
162169
Whether automatic re-authentication is possible (has credential, selectors, and

0 commit comments

Comments
 (0)