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

[@salesforce/b2c-tooling-sdk](../../modules.md) / [cli](../index.md) / AuthMiddlewareHookOptions

# Interface: AuthMiddlewareHookOptions

Defined in: [packages/b2c-tooling-sdk/src/cli/hooks.ts:253](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/b7ec7d4a1464ef7bbb6a5757ffd6f99a18a31bf6/packages/b2c-tooling-sdk/src/cli/hooks.ts#L253)

Options passed to the `b2c:auth-middleware` hook.

## Indexable

\[`key`: `string`\]: `unknown`

Index signature for oclif hook compatibility

## Properties

### flags?

> `optional` **flags**: `Record`\<`string`, `unknown`\>

Defined in: [packages/b2c-tooling-sdk/src/cli/hooks.ts:260](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/b7ec7d4a1464ef7bbb6a5757ffd6f99a18a31bf6/packages/b2c-tooling-sdk/src/cli/hooks.ts#L260)

All parsed CLI flags from the current command.

Plugins can inspect flags but cannot add new flags to commands.
For plugin-specific configuration, use environment variables instead.
