matrix-js-sdk
Version:
Matrix Client-Server SDK for Javascript
12 lines • 357 B
TypeScript
import { AuthDict, IAuthData } from "../interactive-auth";
/**
* Helper type to represent HTTP request body for a UIA enabled endpoint
*/
export type UIARequest<T> = T & {
auth?: AuthDict;
};
/**
* Helper type to represent HTTP response body for a UIA enabled endpoint
*/
export type UIAResponse<T> = T | IAuthData;
//# sourceMappingURL=uia.d.ts.map