feat: add refresh token capability

This commit is contained in:
Ali BARIN
2022-11-17 23:14:48 +01:00
parent e3e8f570f8
commit 901605fd9c
3 changed files with 23 additions and 2 deletions

View File

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