@salesforce/b2c-tooling-sdk / auth / OAuthAuthConfig
Interface: OAuthAuthConfig
Defined in: packages/b2c-tooling-sdk/src/auth/types.ts:65
Configuration for OAuth authentication. Used for OCAPI and platform API operations.
Properties
accountManagerHost?
optionalaccountManagerHost:string
Defined in: packages/b2c-tooling-sdk/src/auth/types.ts:69
clientId
clientId:
string
Defined in: packages/b2c-tooling-sdk/src/auth/types.ts:66
clientSecret?
optionalclientSecret:string
Defined in: packages/b2c-tooling-sdk/src/auth/types.ts:67
openBrowser()?
optionalopenBrowser: (url) =>Promise<void>
Defined in: packages/b2c-tooling-sdk/src/auth/types.ts:73
Custom browser opener for browser OAuth flows. Receives the authorization URL.
Parameters
url
string
Returns
Promise<void>
redirectUri?
optionalredirectUri:string
Defined in: packages/b2c-tooling-sdk/src/auth/types.ts:71
Override redirect URI for browser OAuth flows (e.g., for port forwarding in remote environments)
scopes?
optionalscopes:string[]
Defined in: packages/b2c-tooling-sdk/src/auth/types.ts:68