Skip to main content
The Go SDK and docs are currently in beta. Report issues on GitHub.
The method used to generate the code challenge

Example Usage

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

NameValue
CreateAuthKeysCodeCodeChallengeMethodS256S256
CreateAuthKeysCodeCodeChallengeMethodPlainplain