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

# OAuthManifest

> An OAuth flow that gets tokens from a token endpoint.

```csharp
public abstract record OAuthManifest : AuthManifest, IEquatable<AuthManifest>, IEquatable<OAuthManifest>
```

**Extends:** `AuthManifest`

**Implements:** `IEquatable<AuthManifest>`, `IEquatable<OAuthManifest>`

## Constructors

```csharp
protected OAuthManifest()
```

```csharp
protected OAuthManifest(OAuthManifest original)
```

### Parameters

**original** `OAuthManifest` *required*

## Properties

**ClientAuth** `ClientAuth` *required*

How the client is sent to the token URL: in the form body, or as a Basic header (RFC 6749 2.3.1) for a vendor such as DocuSign or ADP that reads only that.

**EqualityContract** `Type` *required*

**TokenUrl** `string` *required*

Where tokens are granted. A \{\{ connection.\<field> }} in it takes that connection field's value, such as Zendesk's subdomain.

## Methods

### Equals()

```csharp
public override sealed bool Equals(AuthManifest? other)
```

#### Parameters

**other** `AuthManifest` *required*

#### Returns

`bool`

```csharp
public virtual bool Equals(OAuthManifest? other)
```

#### Parameters

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

#### Parameters

**left** `OAuthManifest` *required*

**right** `OAuthManifest` *required*

#### Returns

`bool`

### operator ==()

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

#### Parameters

**left** `OAuthManifest` *required*

**right** `OAuthManifest` *required*

#### Returns

`bool`

### PrintMembers()

```csharp
protected override bool PrintMembers(StringBuilder builder)
```

#### Parameters

**builder** `StringBuilder` *required*

#### Returns

`bool`

### TokenUrlFor()

```csharp
public virtual string TokenUrlFor(IReadOnlyDictionary<string, string?>? settings)
```

#### Parameters

**settings** `IReadOnlyDictionary\<string, string\>` *required*

#### Returns

`string`

### ToString()

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

#### Returns

`string`


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