> ## 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.

# OAuthApproval

> What the vendor issued for a new authorization.

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

**Implements:** `IEquatable<OAuthApproval>`

## Constructors

```csharp
public OAuthApproval(JsonObject TokenAnswer)
```

What the vendor issued for a new authorization.

### Parameters

**TokenAnswer** `JsonObject` *required*

The token endpoint's answer to the approval's code.

## Properties

**TokenAnswer** `JsonObject` *required*

The token endpoint's answer to the approval's code.

## Methods

### Deconstruct()

```csharp
public void Deconstruct(out JsonObject TokenAnswer)
```

#### Parameters

**TokenAnswer** `JsonObject` *required*

### Equals()

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

#### Parameters

**other** `OAuthApproval` *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 !=(OAuthApproval? left, OAuthApproval? right)
```

#### Parameters

**left** `OAuthApproval` *required*

**right** `OAuthApproval` *required*

#### Returns

`bool`

### operator ==()

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

#### Parameters

**left** `OAuthApproval` *required*

**right** `OAuthApproval` *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.