matrix-react-sdk
Version:
SDK for matrix.org using React
9 lines (8 loc) • 440 B
TypeScript
import { OidcClientConfig } from "matrix-js-sdk/src/matrix";
/**
* Check the create prompt is supported by the OP, if so, we can do a registration flow
* https://openid.net/specs/openid-connect-prompt-create-1_0.html
* @param delegatedAuthConfig config as returned from discovery
* @returns whether user registration is supported
*/
export declare const isUserRegistrationSupported: (delegatedAuthConfig: OidcClientConfig) => boolean;