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

# ClientAuthenticationMethod

> Defines the client authentication methods supported by OAuth2.

export function DocsBadge({text, variant = 'neutral'}) {
  const variantClasses = {
    success: 'mint-bg-green-500/10 mint-text-green-600 dark:mint-text-green-400 mint-border-green-500/20',
    neutral: 'mint-bg-slate-500/10 mint-text-slate-600 dark:mint-text-slate-400 mint-border-slate-500/20',
    info: 'mint-bg-blue-500/10 mint-text-blue-600 dark:mint-text-blue-400 mint-border-blue-500/20',
    warning: 'mint-bg-amber-500/10 mint-text-amber-600 dark:mint-text-amber-400 mint-border-amber-500/20',
    danger: 'mint-bg-red-500/10 mint-text-red-600 dark:mint-text-red-400 mint-border-red-500/20'
  };
  const classes = variantClasses[variant] || variantClasses.neutral;
  return <span className={`mint-inline-flex mint-items-center mint-px-2 mint-py-0.5 mint-rounded-full mint-text-xs mint-font-medium mint-tracking-wide mint-border mint-ml-1.5 mint-align-middle mint-whitespace-nowrap ${classes}`}>
      {text}
    </span>;
}

## Definition

**Assembly:** Microsoft.OData.Mcp.Authentication.dll

**Namespace:** Microsoft.OData.Mcp.Authentication.Models

**Inheritance:** System.Enum

## Syntax

```csharp theme={"dark"}
Microsoft.OData.Mcp.Authentication.Models.ClientAuthenticationMethod
```

## Summary

Defines the client authentication methods supported by OAuth2.

## Values

| Name                      | Value | Description                                                                     |
| ------------------------- | ----- | ------------------------------------------------------------------------------- |
| `None`                    | 0     | No client authentication (public client).                                       |
| `ClientSecret`            | 1     | Client secret sent in the Authorization header using HTTP Basic authentication. |
| `ClientSecretPost`        | 2     | Client secret sent in the request body as a form parameter.                     |
| `TlsClientAuth`           | 3     | Client authentication using TLS client certificates.                            |
| `SelfSignedTlsClientAuth` | 4     | Client authentication using self-signed TLS client certificates.                |
| `PrivateKeyJwt`           | 5     | Client authentication using JWT signed with the client's internal key.          |
| `ClientSecretJwt`         | 6     | Client authentication using JWT signed with the client secret.                  |
