Skip to content

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

Type Alias: AuthMethod

AuthMethod = "client-credentials" | "implicit" | "basic" | "api-key"

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

Available authentication methods.

  • 'client-credentials': OAuth client credentials flow (requires clientId + clientSecret)
  • 'implicit': Interactive browser-based OAuth (requires clientId only)
  • 'basic': Username/password (access key) authentication
  • 'api-key': API key authentication (for MRT, etc.)

All rights reserved.