Type Alias RawOidcArgs<ActionType>

RawOidcArgs: {
    config: OidcConfig;
    logger?: { custom?: CustomLogger; level: LogLevel };
    requestMiddleware?: RequestMiddleware<ActionType>[];
    storage?: Partial<StorageConfig>;
    store?: unknown;
}

The raw, unvalidated input type — this is what public callers pass. store is typed as unknown so the parser can perform a runtime brand-check via isSdkStoreHandle before narrowing to SdkStore.

Type Parameters

Type declaration

  • config: OidcConfig
  • Optionallogger?: { custom?: CustomLogger; level: LogLevel }
  • OptionalrequestMiddleware?: RequestMiddleware<ActionType>[]
  • Optionalstorage?: Partial<StorageConfig>
  • Optionalstore?: unknown

    An existing SDK store to attach to, so discovery caching and state are shared with another client. Omit to create a store for this client alone. Typed as unknown — the parser validates this at runtime via isSdkStoreHandle.