> ## Documentation Index
> Fetch the complete documentation index at: https://opentouter.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# ExchangeAuthCodeForAPIKeyCodeChallengeMethod - TypeScript SDK

> ExchangeAuthCodeForAPIKeyCodeChallengeMethod type definition

<Warning>
  The TypeScript SDK and docs are currently in beta.
  Report issues on [GitHub](https://github.com/OpenRouterTeam/typescript-sdk/issues).
</Warning>

The method used to generate the code challenge

## Example Usage

```typescript lines theme={null}
import { ExchangeAuthCodeForAPIKeyCodeChallengeMethod } from "@openrouter/sdk/models/operations";

let value: ExchangeAuthCodeForAPIKeyCodeChallengeMethod = "S256";

// Open enum: unrecognized values are captured as Unrecognized<string>
```

## Values

```typescript lines theme={null}
"S256" | "plain" | Unrecognized<string>
```
