> ## 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. # CreateAuthKeysCodeCodeChallengeMethod The method used to generate the code challenge ## Example Usage ```go theme={null} import ( "github.com/OpenRouterTeam/go-sdk/models/operations" ) value := operations.CreateAuthKeysCodeCodeChallengeMethodS256 // Open enum: custom values can be created with a direct type cast custom := operations.CreateAuthKeysCodeCodeChallengeMethod("custom_value") ``` ## Values | Name | Value | | -------------------------------------------- | ----- | | `CreateAuthKeysCodeCodeChallengeMethodS256` | S256 | | `CreateAuthKeysCodeCodeChallengeMethodPlain` | plain |