> ## Documentation Index > Fetch the complete documentation index at: https://openrouter.ai/docs/llms.txt > Use this file to discover all available pages before exploring further. # ExchangeAuthCodeForAPIKeyCodeChallengeMethod The method used to generate the code challenge ## Example Usage ```python theme={null} from openrouter.operations import ExchangeAuthCodeForAPIKeyCodeChallengeMethod # Open enum: unrecognized values are captured as UnrecognizedStr value: ExchangeAuthCodeForAPIKeyCodeChallengeMethod = "S256" ``` ## Values This is an open enum. Unrecognized values will not fail type checks. * `"S256"` * `"plain"`