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

# PasswordRequirements

> The rules a tenant holds a password to.

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

**Implements:** `IEquatable<PasswordRequirements>`

## Constructors

```csharp
public PasswordRequirements(int MinLength, int MaxLength, CharacterSets Required)
```

The rules a tenant holds a password to.

### Parameters

**MinLength** `int` *required*

**MaxLength** `int` *required*

**Required** `CharacterSets` *required*

## Properties

**MaxLength** `int` *required*

**MinLength** `int` *required*

**Required** `CharacterSets` *required*

## Methods

### Deconstruct()

```csharp
public void Deconstruct(out int MinLength, out int MaxLength, out CharacterSets Required)
```

#### Parameters

**MinLength** `int` *required*

**MaxLength** `int` *required*

**Required** `CharacterSets` *required*

### Equals()

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

#### Parameters

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

#### Parameters

**left** `PasswordRequirements` *required*

**right** `PasswordRequirements` *required*

#### Returns

`bool`

### operator ==()

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

#### Parameters

**left** `PasswordRequirements` *required*

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