refactor: Generate authentication steps from auth properties

This commit is contained in:
Faruk AYDIN
2022-11-10 18:49:49 +01:00
parent 6d3606abf0
commit 10e2794ff9
15 changed files with 115 additions and 599 deletions

View File

@@ -181,8 +181,9 @@ export interface IAuth {
createAuthData?($: IGlobalVariable): Promise<void>;
verifyCredentials($: IGlobalVariable): Promise<any>;
isStillVerified($: IGlobalVariable): Promise<boolean>;
generateAuthUrl?: boolean;
fields: IField[];
authenticationSteps: IAuthenticationStep[];
authenticationSteps?: IAuthenticationStep[];
reconnectionSteps?: IAuthenticationStep[];
}