You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
383 B
TypeScript
16 lines
383 B
TypeScript
export {
|
|
TOKEN_REFRESH_MARGIN_MS,
|
|
buildFoundryProviderBaseUrl,
|
|
extractFoundryEndpoint,
|
|
isFoundryProviderApi,
|
|
resolveConfiguredModelNameHint,
|
|
type CachedTokenEntry,
|
|
} from "./shared.js";
|
|
|
|
export function getFoundryTokenCacheKey(params?: {
|
|
subscriptionId?: string;
|
|
tenantId?: string;
|
|
}): string {
|
|
return `${params?.subscriptionId ?? ""}:${params?.tenantId ?? ""}`;
|
|
}
|