@aws-amplify/core
Version:
Core category of aws-amplify
15 lines (14 loc) • 517 B
TypeScript
/**
* Associates a per-context token provider with its write-capable orchestrator.
*
* @internal
*/
export declare const registerContextTokenOrchestrator: (provider: object, orchestrator: object) => void;
/**
* Returns the orchestrator registered for the given token provider, or
* `undefined` when the provider is absent or was never registered (the global
* `Amplify.configure()` path).
*
* @internal
*/
export declare const getContextTokenOrchestrator: <T = unknown>(provider?: object) => T | undefined;