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

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

# Type Alias: AuthMethod

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

Defined in: [packages/b2c-tooling-sdk/src/auth/types.ts:114](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/e7c16f1ae423da0aa47b3e10be88f9770b53619b/packages/b2c-tooling-sdk/src/auth/types.ts#L114)

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.)
