#### [Abblix\.Oidc\.Server](https://www.abblix.com/en/docs/api/abblix-oidc-server 'index')
### [Abblix\.Oidc\.Server\.Common\.Constants](https://www.abblix.com/en/docs/api/abblix-oidc-server/Abblix.Oidc.Server.Common.Constants 'Abblix\.Oidc\.Server\.Common\.Constants')

## CodeChallengeMethods Class

Static class representing the methods for PKCE \(Proof Key for Code Exchange\) code challenges\.

```csharp
public static class CodeChallengeMethods
```

Inheritance [System\.Object](https://learn.microsoft.com/en-us/dotnet/api/system.object 'System\.Object') → CodeChallengeMethods
### Fields

## CodeChallengeMethods\.Plain Field {#Abblix.Oidc.Server.Common.Constants.CodeChallengeMethods.Plain}

Represents the "plain" code challenge method where the code verifier is sent without hashing\.

```csharp
public const string Plain = "plain";
```

#### Field Value
[System\.String](https://learn.microsoft.com/en-us/dotnet/api/system.string 'System\.String')

## CodeChallengeMethods\.S256 Field {#Abblix.Oidc.Server.Common.Constants.CodeChallengeMethods.S256}

Represents the "S256" code challenge method where the code verifier is hashed using SHA\-256\.

```csharp
public const string S256 = "S256";
```

#### Field Value
[System\.String](https://learn.microsoft.com/en-us/dotnet/api/system.string 'System\.String')

## CodeChallengeMethods\.S512 Field {#Abblix.Oidc.Server.Common.Constants.CodeChallengeMethods.S512}

Represents the "S512" code challenge method where the code verifier is hashed using SHA\-512\.
This method provides a higher level of security through a stronger hashing algorithm\.

```csharp
public const string S512 = "S512";
```

#### Field Value
[System\.String](https://learn.microsoft.com/en-us/dotnet/api/system.string 'System\.String')
