Skip to content
View as Markdown
View as Markdown

@salesforce/b2c-tooling-sdk / config / ResolveConfigOptions

Interface: ResolveConfigOptions

Defined in: packages/b2c-tooling-sdk/src/config/types.ts:251

Options for configuration resolution.

Properties

accountManagerHost?

optional accountManagerHost: string

Defined in: packages/b2c-tooling-sdk/src/config/types.ts:275

Account Manager hostname for OAuth (passed to plugins for host-specific config)


clientIdProtection?

optional clientIdProtection: boolean

Defined in: packages/b2c-tooling-sdk/src/config/types.ts:269

Whether to apply OAuth clientId mismatch protection (default: true). When the override clientId differs from the base config's clientId, the stored clientSecret is dropped — a secret bound to a different client would silently steer auth into client-credentials with credentials that never validate. Same protection applies to slasClientId / slasClientSecret.


cloudOrigin?

optional cloudOrigin: string

Defined in: packages/b2c-tooling-sdk/src/config/types.ts:271

Cloud origin for ~/.mobify lookup (MRT)


configPath?

optional configPath: string

Defined in: packages/b2c-tooling-sdk/src/config/types.ts:255

Explicit path to config file (defaults to auto-discover)


credentialsFile?

optional credentialsFile: string

Defined in: packages/b2c-tooling-sdk/src/config/types.ts:273

Path to custom MRT credentials file (overrides default ~/.mobify)


hostnameProtection?

optional hostnameProtection: boolean

Defined in: packages/b2c-tooling-sdk/src/config/types.ts:261

Whether to apply hostname mismatch protection (default: true)


instance?

optional instance: string

Defined in: packages/b2c-tooling-sdk/src/config/types.ts:253

Named instance for supporting ConfigSources


projectDirectory?

optional projectDirectory: string

Defined in: packages/b2c-tooling-sdk/src/config/types.ts:257

Starting directory for config file search


replaceDefaultSources?

optional replaceDefaultSources: boolean

Defined in: packages/b2c-tooling-sdk/src/config/types.ts:290

Replace default sources entirely (instead of appending)


sourcesAfter?

optional sourcesAfter: ConfigSource[]

Defined in: packages/b2c-tooling-sdk/src/config/types.ts:287

Custom sources to add AFTER default sources (lower priority). These sources fill in gaps left by dw.json and ~/.mobify.


sourcesBefore?

optional sourcesBefore: ConfigSource[]

Defined in: packages/b2c-tooling-sdk/src/config/types.ts:281

Custom sources to add BEFORE default sources (higher priority). These sources can override values from dw.json and ~/.mobify.


workingDirectory?

optional workingDirectory: string

Defined in: packages/b2c-tooling-sdk/src/config/types.ts:259

Deprecated

Use projectDirectory instead

Released under the Apache-2.0 License.