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

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

# Interface: ResolveAuthStrategyOptions

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

Options for resolving an auth strategy.

## Properties

### allowedMethods?

> `optional` **allowedMethods**: [`AuthMethod`](../type-aliases/AuthMethod.md)[]

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

Allowed authentication methods in priority order.
The first method with available credentials will be used.
Defaults to: ['client-credentials', 'implicit', 'basic', 'api-key'].

Note: the `'jwt'` method is defined in the [AuthMethod](../type-aliases/AuthMethod.md) type but is
not automatically resolvable here, because JWT auth requires file paths
(e.g. `certPath`/`keyPath`) that are not part of the generic
[AuthCredentials](AuthCredentials.md) accepted by this resolver. To use JWT, instantiate
`JwtOAuthStrategy` directly instead of relying on `resolveAuthStrategy`.
