Type Alias AuthFlowFunction
AuthFlowFunction: (
url: string,
params?: { [key: string]: string | undefined },
expect?: string[],
) => Promise<any>
Type Declaration
-
- (
url: string,
params?: { [key: string]: string | undefined },
expect?: string[],
): Promise<any>
-
Parameters
- url: string
Optionalparams: { [key: string]: string | undefined }
Optionalexpect: string[]
Returns Promise<any>
The callback passed to the Extension.auth function as its second parameter, for kicking off an authorization flow.