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

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

# Type Alias: AuthMethod

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

Defined in: [packages/b2c-tooling-sdk/src/auth/types.ts:178](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/2feab01f654eec77c6d702777ec2818472f131f1/packages/b2c-tooling-sdk/src/auth/types.ts#L178)

Available authentication methods.
- 'client-credentials': OAuth client credentials flow (requires clientId + clientSecret)
- 'jwt': OAuth JWT Bearer flow (requires clientId + JWT certificate/key pair)
- 'user': Interactive browser-based user authentication (Authorization Code + PKCE; requires clientId only)
- 'implicit': Legacy interactive browser-based OAuth implicit flow (deprecated; kept for compatibility)
- 'basic': Username/password (access key) authentication
- 'api-key': API key authentication (for MRT, etc.)
