> ## Documentation Index
> Fetch the complete documentation index at: https://klef.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# OAuthPkce

> A PKCE code verifier (RFC 7636), which the code exchange sends to prove it made the approval request.

```csharp
public sealed record OAuthPkce : IEquatable<OAuthPkce>
```

**Implements:** `IEquatable<OAuthPkce>`

## Constructors

```csharp
public OAuthPkce(string Verifier)
```

A PKCE code verifier (RFC 7636), which the code exchange sends to prove it made the approval request.

### Parameters

**Verifier** `string` *required*

The secret the code exchange sends.

## Fields

**ChallengeMethod** `string` *required*

The method [Challenge](https://klef.ai/docs/connector-sdk/reference/sdk/oauthpkce.md) is made with.

## Properties

**Challenge** `string` *required*

What the approval request sends in place of the verifier.

**Verifier** `string` *required*

The secret the code exchange sends.

## Methods

### Create()

```csharp
public static OAuthPkce Create()
```

#### Returns

`OAuthPkce`

### Deconstruct()

```csharp
public void Deconstruct(out string Verifier)
```

#### Parameters

**Verifier** `string` *required*

### Equals()

```csharp
public bool Equals(OAuthPkce? other)
```

#### Parameters

**other** `OAuthPkce` *required*

#### Returns

`bool`

```csharp
public override bool Equals(object? obj)
```

#### Parameters

**obj** `object` *required*

#### Returns

`bool`

### GetHashCode()

```csharp
public override int GetHashCode()
```

#### Returns

`int`

### operator !=()

```csharp
public static bool operator !=(OAuthPkce? left, OAuthPkce? right)
```

#### Parameters

**left** `OAuthPkce` *required*

**right** `OAuthPkce` *required*

#### Returns

`bool`

### operator ==()

```csharp
public static bool operator ==(OAuthPkce? left, OAuthPkce? right)
```

#### Parameters

**left** `OAuthPkce` *required*

**right** `OAuthPkce` *required*

#### Returns

`bool`

### ToString()

```csharp
public override string ToString()
```

#### Returns

`string`


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.