Sanity Library Reference Docs
    Preparing search index...

    Variable getOAuthTokensStateConst

    getOAuthTokensState: BoundStoreAction<
        AuthStoreState,
        [],
        StateSource<Omit<OAuthTokens, "refreshToken"> | null>,
    > = ...

    A state source exposing the current OAuth tokens (including expiry), or null when not logged in via OAuth. The refresh token is omitted — it is a long-lived credential held internally by core for refreshOAuthTokens, not part of the app-facing token view.