11 lines
480 B
TypeScript
11 lines
480 B
TypeScript
import type { IdentityTokenProvider } from "./types.mjs";
|
|
/**
|
|
* 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.mts.map
|