@anthropic-ai/sdk
Version:
The official TypeScript library for the Anthropic API
11 lines • 478 B
TypeScript
import type { IdentityTokenProvider } from "./types.js";
/**
* Reads a JWT from a file on every call. Supports automatic rotation
* (e.g. Kubernetes projected service-account tokens).
*/
export declare function identityTokenFromFile(path: string): IdentityTokenProvider;
/**
* Wraps a static JWT string as an {@link IdentityTokenProvider}.
*/
export declare function identityTokenFromValue(token: string): IdentityTokenProvider;
//# sourceMappingURL=identity-token.d.ts.map