@salesforce/b2c-tooling-sdk / auth / OAuthAuthConfig
Interface: OAuthAuthConfig ​
Defined in: packages/b2c-tooling-sdk/src/auth/types.ts:49
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:53
clientId ​
clientId:
string
Defined in: packages/b2c-tooling-sdk/src/auth/types.ts:50
clientSecret? ​
optionalclientSecret:string
Defined in: packages/b2c-tooling-sdk/src/auth/types.ts:51
openBrowser()? ​
optionalopenBrowser: (url) =>Promise<void>
Defined in: packages/b2c-tooling-sdk/src/auth/types.ts:57
Custom browser opener for implicit OAuth flow. Receives the authorization URL.
Parameters ​
url ​
string
Returns ​
Promise<void>
redirectUri? ​
optionalredirectUri:string
Defined in: packages/b2c-tooling-sdk/src/auth/types.ts:55
Override redirect URI for implicit OAuth flow (e.g., for port forwarding in remote environments)
scopes? ​
optionalscopes:string[]
Defined in: packages/b2c-tooling-sdk/src/auth/types.ts:52