UNPKG

matrix-react-sdk

Version:
13 lines (12 loc) 635 B
import { OidcClientConfig } from "matrix-js-sdk/src/matrix"; import { IConfigOptions } from "../../IConfigOptions"; /** * Get the clientId for an OIDC OP * Checks statically configured clientIds first * Then attempts dynamic registration with the OP * @param delegatedAuthConfig Auth config from ValidatedServerConfig * @param staticOidcClients static client config from config.json * @returns Promise<string> resolves with clientId * @throws if no clientId is found */ export declare const getOidcClientId: (delegatedAuthConfig: OidcClientConfig, staticOidcClients?: IConfigOptions["oidc_static_clients"]) => Promise<string>;