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

# EasyAF_ClaimsPrincipalExtensions

## Definition

**Assembly:** CloudNimble.EasyAF.Core.dll

**Namespace:** System.Security.Claims

**Inheritance:** System.Object

## Syntax

```csharp theme={"dark"}
System.Security.Claims.EasyAF_ClaimsPrincipalExtensions
```

## Properties

### <Icon icon="tag" iconType="duotone" color="#E0EC32" size={24} className="mr-2" /> NameClaimType

#### Syntax

```csharp theme={"dark"}
public static string NameClaimType { get; }
```

#### Property Value

Type: `string`

### <Icon icon="tag" iconType="duotone" color="#E0EC32" size={24} className="mr-2" /> RoleClaimType

#### Syntax

```csharp theme={"dark"}
public static string RoleClaimType { get; }
```

#### Property Value

Type: `string`

## Methods

### <Icon icon="thumbtack" iconType="duotone" color="#E0EC32" size={24} className="mr-2" /> Initialize

#### Syntax

```csharp theme={"dark"}
public static void Initialize()
```

### <Icon icon="thumbtack" iconType="duotone" color="#E0EC32" size={24} className="mr-2" /> Initialize

#### Syntax

```csharp theme={"dark"}
public static void Initialize(string schemaUri, string idClaimName)
```

#### Parameters

| Name          | Type     | Description |
| ------------- | -------- | ----------- |
| `schemaUri`   | `string` | -           |
| `idClaimName` | `string` | -           |

### <Icon icon="thumbtack" iconType="duotone" color="#E0EC32" size={24} className="mr-2" /> SetIdClaimName

#### Syntax

```csharp theme={"dark"}
public static void SetIdClaimName(string idClaimName)
```

#### Parameters

| Name          | Type     | Description |
| ------------- | -------- | ----------- |
| `idClaimName` | `string` | -           |

### <Icon icon="thumbtack" iconType="duotone" color="#E0EC32" size={24} className="mr-2" /> SetSchemaUri

Sets the SchemaUrl used [`async`](https://learn.microsoft.com/dotnet/csharp/language-reference/keywords/async)the basis for all custom claims.

#### Syntax

```csharp theme={"dark"}
public static void SetSchemaUri(string schemaUri)
```

#### Parameters

| Name        | Type     | Description |
| ----------- | -------- | ----------- |
| `schemaUri` | `string` | -           |
