mirror of
https://github.com/lancedb/lancedb.git
synced 2026-01-07 12:22:59 +00:00
## Summary This PR introduces a `HeaderProvider` which is called for all remote HTTP calls to get the latest headers to inject. This is useful for features like adding the latest auth tokens where the header provider can auto-refresh tokens internally and each request always set the refreshed token. --------- Co-authored-by: Claude <noreply@anthropic.com>
26 lines
295 B
Markdown
26 lines
295 B
Markdown
[**@lancedb/lancedb**](../README.md) • **Docs**
|
|
|
|
***
|
|
|
|
[@lancedb/lancedb](../globals.md) / TokenResponse
|
|
|
|
# Interface: TokenResponse
|
|
|
|
Token response from OAuth provider.
|
|
|
|
## Properties
|
|
|
|
### accessToken
|
|
|
|
```ts
|
|
accessToken: string;
|
|
```
|
|
|
|
***
|
|
|
|
### expiresIn?
|
|
|
|
```ts
|
|
optional expiresIn: number;
|
|
```
|