1
0
mirror of https://github.com/matrix-org/matrix-js-sdk.git synced 2025-08-05 00:42:10 +03:00

types: improve types for registration calls (#2390)

This commit is contained in:
Janne Mareike Koschinski
2022-05-20 17:34:28 +02:00
committed by GitHub
parent e81d84502b
commit a9516d047f
2 changed files with 24 additions and 4 deletions

View File

@@ -46,9 +46,16 @@ export interface IAuthData {
session?: string;
completed?: string[];
flows?: IFlow[];
available_flows?: IFlow[];
stages?: string[];
required_stages?: AuthType[];
params?: Record<string, Record<string, any>>;
data?: Record<string, string>;
errcode?: string;
error?: string;
user_id?: string;
device_id?: string;
access_token?: string;
}
export enum AuthType {