Skip to content

@lancedb/lancedb • Docs


@lancedb/lancedb / SessionStatus

Interface: SessionStatus

Safe, non-secret view of a cached OAuth session, returned by OAuthSession.status and OAuthSession.login.

Properties

audience?

optional audience: string;

Provider-specific audience used to obtain the cached session, if configured.


clientId

clientId: string;

Client ID of the cached session.


flow

flow: string;

Flow that produced the cached session.


issuerUrl

issuerUrl: string;

Canonical issuer URL of the cached session.


obtainedAt?

optional obtainedAt: number;

When the cached session was obtained, as Unix seconds.


refreshable

refreshable: boolean;

Whether a cached session exists that can obtain tokens without interactive authentication. Because access tokens are not persisted, this is true exactly when a refresh token is cached; the next connection refreshes with it rather than opening a browser or device prompt.


resource?

optional resource: string;

Resource indicator used to obtain the cached session, if configured.


scopes

scopes: string[];

Canonical (sorted, de-duplicated) scope set of the cached session.