@tableau/taco-toolkit
Version:
Tableau Connector Toolkit
15 lines (14 loc) • 545 B
TypeScript
import { AuthResult } from '../../../../shared/types/auth-result';
import { HandlerInput } from '../../../../shared/types/handler-input';
import { SecretsType } from '../../../../shared/types/secrets-type';
export interface AuthenticateOptions {
handlerInput: HandlerInput;
secrets?: SecretsType;
}
/**
* @deprecated Will be removed in the later release.
*/
export declare abstract class Auth {
abstract authenticate(options: AuthenticateOptions): Promise<AuthResult>;
run(options: AuthenticateOptions): Promise<AuthResult>;
}