Skip to content

@salesforce/b2c-tooling-sdk / auth / AuthConfig

Interface: AuthConfig

Defined in: packages/b2c-tooling-sdk/src/auth/types.ts:52

Combined authentication configuration. B2CInstance uses this to determine which auth strategy to use for each operation type.

Properties

apiKey?

optional apiKey: ApiKeyAuthConfig

Defined in: packages/b2c-tooling-sdk/src/auth/types.ts:60

API key for MRT/external services


authMethods?

optional authMethods: AuthMethod[]

Defined in: packages/b2c-tooling-sdk/src/auth/types.ts:66

Allowed authentication methods in priority order. If not set, defaults to all methods: ['client-credentials', 'implicit', 'basic', 'api-key']


basic?

optional basic: BasicAuthConfig

Defined in: packages/b2c-tooling-sdk/src/auth/types.ts:54

Basic auth for WebDAV (username/access-key)


oauth?

optional oauth: OAuthAuthConfig

Defined in: packages/b2c-tooling-sdk/src/auth/types.ts:57

OAuth credentials for OCAPI/platform APIs

All rights reserved.