---
editLink: false
lastUpdated: false
---

[@salesforce/b2c-tooling-sdk](../../modules.md) / [auth](../index.md) / AuthMethod

# Type Alias: AuthMethod

> **AuthMethod** = `"client-credentials"` \| `"jwt"` \| `"implicit"` \| `"basic"` \| `"api-key"`

Defined in: [packages/b2c-tooling-sdk/src/auth/types.ts:115](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/67fb8580ac3c5b372617ee3ec3fc8f2bc9f16174/packages/b2c-tooling-sdk/src/auth/types.ts#L115)

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