UNPKG

@salesforce/core

Version:

Core libraries to interact with SFDX projects, orgs, and APIs.

20 lines (19 loc) 681 B
import { ConfigFile } from './configFile'; /** * An auth config file that stores information such as access tokens, usernames, etc., * in the global sfdx directory (~/.sfdx). * * ``` * const authInfo = await AuthInfoConfig.create(AuthInfoConfig.getOptions(username)); * ``` * * @deprecated Replaced by GlobalInfo in v3 {@link https://github.com/forcedotcom/sfdx-core/blob/v3/MIGRATING_V2-V3.md#globalinfo} */ export declare class AuthInfoConfig extends ConfigFile<ConfigFile.Options> { /** * Gets the config options for a given org ID. * * @param username The username for the org. */ static getOptions(username: string): ConfigFile.Options; }