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

# TemporaryKey table

> Temporary keys for lightweight authentications such as changing ones subscriptions

## TemporaryKey Table (514)

Temporary keys for lightweight authentications such as changing ones subscriptions

## Fields

| Name                      | Description                                                                                           | Type                                                      | Nullable |
| ------------------------- | ----------------------------------------------------------------------------------------------------- | --------------------------------------------------------- | :------: |
| temporarykey\_id          | Primary key                                                                                           | PK                                                        |    No    |
| domain                    | The domain this is a key for                                                                          | Enum [TemporaryKeyDomain](./enums/temporarykeydomain.mdx) |    No    |
| target\_id                | The primary key in the table this is a key for                                                        | Int                                                       |    Yes   |
| person\_id                | The person this is a key for                                                                          | FK [person](./person.mdx)                                 |    Yes   |
| authkey                   | The actual key                                                                                        | String(256)                                               |    No    |
| expires                   | When this key expires (server localtime)                                                              | DateTime                                                  |    Yes   |
| registered                | Registered when                                                                                       | UtcDateTime                                               |    No    |
| registered\_associate\_id | Registered by whom                                                                                    | FK [associate](./associate.mdx)                           |    No    |
| updated                   | Last updated when                                                                                     | UtcDateTime                                               |    No    |
| updated\_associate\_id    | Last updated by whom                                                                                  | FK [associate](./associate.mdx)                           |    No    |
| updatedCount              | Number of updates made to this record                                                                 | UShort                                                    |    No    |
| payload                   | Optional field that may contain arbitrary data used when the key is verified, dependent on the domain | String(4000)                                              |    Yes   |

<img src="https://mintcdn.com/superofficeas/i6M2qZmvMNH7UTeu/media/loc/en/database/tables/TemporaryKey.png?fit=max&auto=format&n=i6M2qZmvMNH7UTeu&q=85&s=54b17c64e631b72267eb4d02e34195db" alt="TemporaryKey table relationship diagram" width="638" height="59" data-path="media/loc/en/database/tables/TemporaryKey.png" />

## Indexes

| Fields | Types | Description |
| ------ | ----- | ----------- |

## Relationships

| Table                    | Description                                                        |
| ------------------------ | ------------------------------------------------------------------ |
| [associate](./associate) | Employees, resources and other users - except for External persons |
| [person](./person)       | Persons                                                            |

## Replication Flags

* None

## Security Flags

* No access control via user's Role.


## Related topics

- [What's new in version 10.5.1.1092](/release-notes/database/changes-10.5.1.md)
- [What's new in version 10.5.2.435](/release-notes/database/changes-10.5.2.md)
- [What's new in version 10.3.10.720](/release-notes/database/changes-10.3.10.md)
- [What's new in version 10.3.11.910](/release-notes/database/changes-10.3.11.md)
- [What's new in version 10.3.12.929](/release-notes/database/changes-10.3.12.md)
- [What's new in version 10.3.13.233](/release-notes/database/changes-10.3.13.md)
