/** * Author: * xtbj@cn.ibm.com */ import { IHandlerParameters, ICommandHandler } from "@zowe/imperative"; /** * Command handler for NetView login * @export * @class NVCommandHandler * @implements {ICommandHandler} */ export default class LoginHandler implements ICommandHandler { /** * This is called by the "auth login" command after it creates a session, to * obtain a token that can be stored in a profile. * @param {AbstractSession} session The session object to use to connect to the auth service * @returns {Promise} The response from the auth service containing a token */ process(params: IHandlerParameters): Promise; }