Share via


CodeChallengeMethodKind Enum

Definition

An enum that specifies the code_challenge_method as described by section 4.3 of RFC 7636 : Proof Key for Code Exchange by OAuth Public Clients.

public enum class CodeChallengeMethodKind
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.Security.Authentication.OAuth.OAuthContract, 65536)]
enum class CodeChallengeMethodKind
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.Security.Authentication.OAuth.OAuthContract), 65536)]
public enum CodeChallengeMethodKind
var value = Microsoft.Security.Authentication.OAuth.CodeChallengeMethodKind.none
Public Enum CodeChallengeMethodKind
Inheritance
CodeChallengeMethodKind
Attributes

Fields

Name Value Description
None 0

Suppresses the use of a code verifier. An error will be thrown if a code challenge string is set when this option is used.

S256 1

Challenge method of "S256" (i.e. SHA256). This is the default unless explicitly set.

Plain 2

Challenge method of "plain" (i.e. send as plain text).

Applies to