/** * Author: * xtbj@cn.ibm.com */ import { AbstractSession, IHandlerParameters } from "@zowe/imperative"; import { INVResponse } from "../../doc"; /** * Class of Authentication from NetView REST Server * * @class Auth */ export declare class Auth { /** * Login to NetView REST Server. * @static * @argument {AbstractSession} session the session to connect to NetView REST Server * @returns {Promise} * @throws ImperativeError */ static login(params: IHandlerParameters, session: AbstractSession): Promise; /** * Log out of NetView REST Server. * @static * @argument {AbstractSession} session the session to connect to NetView REST Server * @returns {Promise} * @throws ImperativeError */ static logout(params: IHandlerParameters, session: AbstractSession): Promise; }