@juspay/neurolink
Version:
The pipe layer of an AI nervous system: one interface connecting provider neurons to your application, across three inference types — generate, stream and decide. `decide` returns typed, calibrated judgements from a non-generative model (~400ms, ~$0.00002
34 lines (33 loc) • 1.02 kB
TypeScript
/**
* AuthProviderRegistry - Static one-shot registry for authentication providers
*
* Matches the ProviderRegistry pattern: static class with a single
* `registerAllProviders()` entry point that registers all 11 auth
* providers with AuthProviderFactory using dynamic imports.
*/
/**
* AuthProviderRegistry - registers all auth providers with the factory
*
* Call `AuthProviderRegistry.registerAllProviders()` once during
* application startup. The method is idempotent and concurrency-safe.
*/
export declare class AuthProviderRegistry {
private static registered;
private static registrationPromise;
/**
* Register all auth providers with the factory
*/
static registerAllProviders(): Promise<void>;
/**
* Internal registration implementation
*/
private static _doRegister;
/**
* Check if providers are registered
*/
static isRegistered(): boolean;
/**
* Clear registrations (for testing)
*/
static clearRegistrations(): void;
}