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

# SuperOffice.WebApi.Data.TemporaryKeyInfo

# <a id="SuperOffice_WebApi_Data_TemporaryKeyInfo" /> Class TemporaryKeyInfo

Namespace: [SuperOffice.WebApi.Data](SuperOffice.WebApi.Data.md)\
Assembly: SuperOffice.WebApi.dll

Carrier object for TemporaryKeyInfo.
The fields returned when checking a temporary key

```csharp theme={null}
public class TemporaryKeyInfo : Carrier
```

#### Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) ←
[Carrier](SuperOffice.WebApi.Data.Carrier.md) ←
[TemporaryKeyInfo](SuperOffice.WebApi.Data.TemporaryKeyInfo.md)

#### Inherited Members

[Carrier.TableRight](SuperOffice.WebApi.Data.Carrier.md#SuperOffice_WebApi_Data_Carrier_TableRight),
[Carrier.FieldProperties](SuperOffice.WebApi.Data.Carrier.md#SuperOffice_WebApi_Data_Carrier_FieldProperties),
[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring),
[object.Equals(object)](https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals\(system-object\)),
[object.Equals(object, object)](https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals\(system-object-system-object\)),
[object.ReferenceEquals(object, object)](https://learn.microsoft.com/dotnet/api/system.object.referenceequals),
[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode),
[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype),
[object.MemberwiseClone()](https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone)

## Constructors

### <a id="SuperOffice_WebApi_Data_TemporaryKeyInfo__ctor" /> TemporaryKeyInfo()

Default constructor - defaults any enum props to 0.

```csharp theme={null}
public TemporaryKeyInfo()
```

## Properties

### <a id="SuperOffice_WebApi_Data_TemporaryKeyInfo_Domain" /> Domain

The domain for this key. Unknown if key is not valid.
NULL if unknown enum value.

```csharp theme={null}
[JsonIgnore]
public TemporaryKeyDomain? Domain { get; set; }
```

#### Property Value

[TemporaryKeyDomain](SuperOffice.WebApi.Data.TemporaryKeyDomain.md)?

#### See Also

[TemporaryKeyInfo](SuperOffice.WebApi.Data.TemporaryKeyInfo.md).[Domain\_String](SuperOffice.WebApi.Data.TemporaryKeyInfo.md#SuperOffice_WebApi_Data_TemporaryKeyInfo_Domain_String)

### <a id="SuperOffice_WebApi_Data_TemporaryKeyInfo_Domain_String" /> Domain\_String

The domain for this key. Unknown if key is not valid.
Raw string enum value.

```csharp theme={null}
[JsonProperty("Domain")]
public string Domain_String { get; set; }
```

#### Property Value

[string](https://learn.microsoft.com/dotnet/api/system.string)

#### See Also

[TemporaryKeyInfo](SuperOffice.WebApi.Data.TemporaryKeyInfo.md).[Domain](SuperOffice.WebApi.Data.TemporaryKeyInfo.md#SuperOffice_WebApi_Data_TemporaryKeyInfo_Domain)

### <a id="SuperOffice_WebApi_Data_TemporaryKeyInfo_IsExpired" /> IsExpired

Whether the key is expired or not.

```csharp theme={null}
public virtual bool IsExpired { get; set; }
```

#### Property Value

[bool](https://learn.microsoft.com/dotnet/api/system.boolean)

### <a id="SuperOffice_WebApi_Data_TemporaryKeyInfo_Payload" /> Payload

The payload for this key. May be null or empty.

```csharp theme={null}
public virtual string Payload { get; set; }
```

#### Property Value

[string](https://learn.microsoft.com/dotnet/api/system.string)

### <a id="SuperOffice_WebApi_Data_TemporaryKeyInfo_PersonId" /> PersonId

The person id this key is related to. May be null.

```csharp theme={null}
public virtual int PersonId { get; set; }
```

#### Property Value

[int](https://learn.microsoft.com/dotnet/api/system.int32)

### <a id="SuperOffice_WebApi_Data_TemporaryKeyInfo_TargetId" /> TargetId

The primary key of the entity this temporary key is for, dependent of dmain

```csharp theme={null}
public virtual int TargetId { get; set; }
```

#### Property Value

[int](https://learn.microsoft.com/dotnet/api/system.int32)

## See Also

[PersonAgent](SuperOffice.WebApi.Agents.PersonAgent.md)


## Related topics

- [SuperOffice.WebApi.Agents.PersonAgent](/en/api/reference/webapi/SuperOffice.WebApi.Agents.PersonAgent.md)
- [SuperOffice.WebApi.Agents.IPersonAgent](/en/api/reference/webapi/SuperOffice.WebApi.Agents.IPersonAgent.md)
- [SuperOffice.WebApi.Data.TemporaryKeyDomain](/en/api/reference/webapi/SuperOffice.WebApi.Data.TemporaryKeyDomain.md)
- [SuperOffice.WebApi.Data.Person CheckTemporaryKeyRequest](/en/api/reference/webapi/SuperOffice.WebApi.Data.Person_CheckTemporaryKeyRequest.md)
- [SuperOffice.WebApi.Data.Person CreateTemporaryKeyRequest](/en/api/reference/webapi/SuperOffice.WebApi.Data.Person_CreateTemporaryKeyRequest.md)
- [SuperOffice.WebApi.Data.Person CreateTemporaryKeyWithPayloadRequest](/en/api/reference/webapi/SuperOffice.WebApi.Data.Person_CreateTemporaryKeyWithPayloadRequest.md)
