Follow Discord
Sweep 10 Nov 2026 · 02:18Z Build v2.1.322 539 read Stable v2.1.311 Latest v2.1.322 Next v2.1.322 Feeds RSS JSON llms.txt llms-full.txt Unofficial
HomeDocsSearch
Search the documentation

1,267 pages for auth.

Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.

Automate actions with hooks Claude Code CLI · in the page hooks-guide …shed responding about 60 seconds ago and you haven't typed since | | `auth_success` | Authentication completes | | `auth_storage_failure` | Your sign-in completes, but Claude Code can't save the new c… How Claude Code works Claude Code CLI · in the page how-claude-code-works …whole project, it can work across it. When you ask Claude to "fix the authentication bug," it searches for relevant files, reads multiple files to understand context, makes coordinated edits across th… Interactive mode Claude Code CLI · in the page interactive-mode …ers to filter. The `/` menu lists built-in commands, bundled and user-authored [skills](https://code.claude.com/docs/en/skills.md), and commands contributed by [plugins](https://code.claude.com/docs/e… JetBrains IDEs Claude Code CLI · in the page jetbrains …`Alt+Ctrl+K` (Linux/Windows) to insert file references such as `@src/auth.ts#L1-99` * **Diagnostic sharing**: Claude reads the IDE's inspection diagnostics, such as lint and syntax errors, by calling… Set up Claude Code in a monorepo or large codebase Claude Code CLI · in the page large-codebases …)` and `teardownTestDb()` for database tests - `src/__tests__/helpers/auth.ts`: provides `createTestUser()` and `getAuthToken()` for authenticated endpoints ## Patterns - Use `supertest` for HTTP as… Legal and compliance Claude Code CLI · in the page legal-and-compliance …by Anthropic, and customers may not remove, disable, or restrict any authentication method built into it (including methods that permit signing in with a Claude account or the user's own API key). *… Other LLM gateways Claude Code CLI · in the page llm-gateway …1. Deploy the gateway and give it your provider credential, so it can authenticate the requests it forwards. 2. Issue each developer a gateway credential, so usage is attributed to the developer and o… Connect Claude Code to an LLM gateway Claude Code CLI · in the page llm-gateway-connect …and the model provider. When your organization uses one, Claude Code authenticates to the gateway with a credential your organization issues instead of your personal claude.ai login. This page is fo… Claude Code gateway compatibility guide Claude Code CLI · in the page llm-gateway-protocol …docs/en/llm-gateway-rollout.md) > * If you're an individual developer authenticating Claude Code to a gateway with a credential you were given, see [Connect Claude Code to an LLM gateway](https://code… Roll out an LLM gateway for your organization Claude Code CLI · in the page llm-gateway-rollout …curl -X POST "https://llm-gateway.example.com/v1/messages" \ > -H "Authorization: Bearer <gateway-key>" \ > -H "anthropic-version: 2023-06-01" \ > -H "content-type: application/json" \ > -d '… Control MCP server access for your organization Claude Code CLI · in the page managed-mcp …API_URL": "https://internal.example.com" } } } } ``` ### Authenticate with per-user credentials Any user on the machine can read this file, so don't store API keys or other credentials i… Deploy managed settings Claude Code CLI · in the page managed-settings …-apps-gateway). Claude Code fetches this source only when the session authenticates to Anthropic's API directly with an [eligible credential](https://code.claude.com/docs/en/server-managed-settings.md… Connect Claude Code to tools via MCP Claude Code CLI · in the page mcp …ector building docs](https://claude.com/docs/connectors/building) for authentication, testing, and Directory submission. You can also have Claude scaffold a server for you with the official [`mcp-ser… Connect to MCP servers Claude Code CLI · in the page mcp-quickstart …de Code installed](https://code.claude.com/docs/en/quickstart.md) and authenticated * A terminal open in a project directory. Any directory works, including an empty one. ## Add and verify a server… Claude Code on Microsoft Foundry Claude Code CLI · in the page microsoft-foundry …ture. ### 2. Configure Azure credentials Claude Code supports three authentication methods for Microsoft Foundry. Choose the method that best fits your security requirements: * [API key](#use-an-ap… Model configuration Claude Code CLI · in the page model-config …anaged-settings.md#platform-availability) to your organization or an OAuth token issued for it. For fleets that authenticate with API keys, whether configured directly or generated by an [`apiKeyHelpe… Monitoring Claude Code CLI · in the page monitoring-usage …pc export OTEL_EXPORTER_OTLP_ENDPOINT=http://localhost:4317 # 4. Set authentication (if required) export OTEL_EXPORTER_OTLP_HEADERS="Authorization=Bearer your-token" # 5. For debugging: reduce expor… Enterprise network configuration Claude Code CLI · in the page network-config …de for enterprise environments with proxy servers, custom Certificate Authorities (CA), and mutual Transport Layer Security (mTLS) authentication. Claude Code supports various enterprise network and… Output styles Claude Code CLI · in the page output-styles …───────────────────── - Every route in this repo goes through the withAuth wrapper, so the new endpoint gets session checks without its own middleware. - Rate limits are set per route in limits.ts, wh… Overview Claude Code CLI · in the page overview …release notes. > > ```bash theme={null} > claude "write tests for the auth module, run them, and fix any failures" > ``` > [accordion] Build features and fix bugs > > Describe what you want in plain… Choose a permission mode Claude Code CLI · in the page permission-modes …itten to other people or shared systems, when your own message didn't authorize those details for that recipient. PR and issue bodies, commit messages, and comments count as this kind of outbound cont… Configure permissions Claude Code CLI · in the page permissions …), or a Team or Enterprise [`/login`](https://code.claude.com/docs/en/authentication#authentication-precedence) as the session's credential, these outcomes stay in place by default when the mod approv… Test plugins with evals Claude Code CLI · in the page plugin-evals …ontributes compared with no plugin This page is for plugin and skill authors who have a working plugin and want to test its behavior, and for teams that gate plugin changes in CI. For iterating on on… Anthropic's marketplaces Claude Code CLI · in the page plugins/anthropic-marketplaces …t | Plugins Anthropic maintains, plus plugins from partners and other authors | Third-party plugins that their authors submitted to Anthropic | | How you get it | Claude Code adds it the first time yo… Plugin commands reference Claude Code CLI · in the page plugins/cli-reference …| | :- | :- | | `--description <text>` | Manifest description | | `--author <name>` | Author name. Defaults to `git config user.name` | | `--author-email <email>` | Author email. Defaults to `git con… Add components to a plugin Claude Code CLI · in the page plugins/components …ription: Reviews code changes for security issues. Use after edits to authentication or input handling. model: sonnet --- You are a security reviewer. Read the changed files and report injection, aut… Create a Claude Code plugin Claude Code CLI · in the page plugins/create …n": "A greeting plugin to learn the basics", "version": "1.0.0", "author": { "name": "Your Name" } } ``` The four fields do this: * **`name`**: required. It identifies the plugin and becom… Create a marketplace Claude Code CLI · in the page plugins/create-marketplace …. Before you push, give the marketplace a top-level `name` that other authors are unlikely to pick, because a user [can't have two marketplaces with the same name](https://code.claude.com/docs/en/plug… Plugin dependencies Claude Code CLI · in the page plugins/dependencies …2.0` or `~2.1.0` that you've tested against. This page is for plugin authors who declare dependencies in `plugin.json` and for marketplace maintainers who tag releases. > [!NOTE] > > These cases are… Host and maintain a marketplace Claude Code CLI · in the page plugins/host-marketplace …eady stores works; one it would have to ask for fails. On GitHub, `gh auth login` followed by `gh auth setup-git` stores one. For a GitHub Enterprise Server host, users need git access to that host f… Install and manage plugins Claude Code CLI · in the page plugins/install …goes in `.claude/settings.local.json`. Some plugins are set by their author to start turned off, through the [`defaultEnabled`](https://code.claude.com/docs/en/plugins/manifest-reference#defaultenabl… Plugin loading reference Claude Code CLI · in the page plugins/loading …, even after you sign in with `/login`: * A session where `ANTHROPIC_AUTH_TOKEN`, `CLAUDE_CODE_OAUTH_TOKEN`, or an `apiKeyHelper` script supplies the credential in place of that sign-in * A session t… Plugin manifest reference Claude Code CLI · in the page plugins/manifest-reference …ion": "Deployment commands, a review agent, and a status monitor", "author": { "name": "Example Team", "email": "[email protected]", "url": "https://example.com" }, "homepage": "https:… Marketplace reference Claude Code CLI · in the page plugins/marketplace-reference …cs/en/plugins/manifest-reference), such as `description`, `version`, `author`, `commands`, and `hooks`. For when those fields apply, see [How an entry combines with plugin.json](#entry-and-plugin-json… Measure plugin cost and usage Claude Code CLI · in the page plugins/measure …n tell whether a plugin is still being used. This page is for plugin authors and maintainers. If you administer Claude Code for an organization, [Measure across a fleet](#measure-across-a-fleet) cove… Manage mods for your organization Claude Code CLI · in the page plugins/mods/admin …ession runs on [`/login` credentials](https://code.claude.com/docs/en/authentication#authentication-precedence) for a Team or Enterprise plan A user with an API key, or on Amazon Bedrock, Google Cl… Use the mods API Claude Code CLI · in the page plugins/mods/api …drops the rest, so a request that depends on another header, such as `Authorization`, can fail after that redirect. The [limits](https://code.claude.com/docs/en/plugins/mods/reference.md#limits) give… Create a mod Claude Code CLI · in the page plugins/mods/create …t-in [skill](https://code.claude.com/docs/en/skills.md) named `plugin-authoring`, which tells it where to write the mod, which events and methods your version has, and how the mod gets loaded. Claude… React to events with a mod Claude Code CLI · in the page plugins/mods/events …script, and Claude also reads a line such as `Current branch: feature/auth` after it. A prompt that doesn't mention a pull request goes through unchanged, and `git` doesn't run. To stop a prompt, ret… Interface gallery for mods Claude Code CLI · in the page plugins/mods/gallery …": "0.1.0", "description": "Opens a pane that draws one sample", "author": { "name": "Your Name" } } ``` Name your entry point in `gallery/hooks/hooks.json`: ```json gallery/hooks/hooks.json the… Draw in the interface with a mod Claude Code CLI · in the page plugins/mods/interface …1.0", "description": "Opens a pane with two tabs and a counter", "author": { "name": "Your Name" } } ``` Name your entry point in `hello-tabs/hooks/hooks.json`: ```json hello-tabs/hooks/hooks.js… Mods overview Claude Code CLI · in the page plugins/mods/overview …s, start processes, and make network requests. Install mods only from authors and marketplaces you trust. See [Decide whether to trust a mod](#decide-whether-to-trust-a-mod). A mod installs as a plug… Mods reference Claude Code CLI · in the page plugins/mods/reference …`repo`, `surfaces`, `usage`, `version`, `compact`, `send`, `append`, `authorize`. `usage()` returns `{ startedAt, context, rateLimits, cost }`: `context` has `tokens`, `window`, and `percent`, and `ra… Test a mod Claude Code CLI · in the page plugins/mods/test …a few rules of its own, and breaking one produces the errors new test authors hit first: * **Register every stub before the test's first call on `$`.** Calling `on` after that throws an error such as… Troubleshoot a mod Claude Code CLI · in the page plugins/mods/troubleshoot …the mod again. If you installed the mod and didn't write it, ask its author to fix the error. ### `options do not fit plugin.json userConfig` The line starts with the mod's name, then `hooks module… Manage Claude Code plugins for your organization Claude Code CLI · in the page plugins/org …read access to the marketplace repository as `GH_TOKEN`, then run `gh auth setup-git`. The default workflow token can only access the workflow's own repository, so a private marketplace in another rep… Publish and distribute a plugin Claude Code CLI · in the page plugins/publish …directory or a `.zip` of it to load themselves. This page is for the author of a working plugin who is ready to share it. > [!NOTE] > > These cases are covered on other pages: > > * **Your plugin is… Troubleshoot plugins Claude Code CLI · in the page plugins/troubleshooting …ace failed with an internal error in place of this message. ### `SSH authentication failed` or `HTTPS authentication failed` You added or updated a marketplace from a git repository, and the clone f… How Claude Code uses prompt caching Claude Code CLI · in the page prompt-caching …er infrastructure serves your model. Where that is depends on how you authenticate: * **API key, Claude subscription, or [Claude Platform on AWS](https://code.claude.com/docs/en/claude-platform-on-aw… Prompt library Claude Code CLI · in the page prompt-library …summarize how it evolved and why', slots: { path: 'internal/auth/session.go' }, src: 'best-practices' }, { id: 'scope-a-change-before', sdlc: 'discover', cat: 'Understa…
Feedback