---
title: "ZeyOS.KeyAuth"
description: "ZeyOS.KeyAuth"
canonical_url: "https://www.zeyos.com/zymba/ref/zeyos/zeyos-keyauth"
markdown_url: "https://www.zeyos.com/ai/guide/zymba/ref/zeyos/zeyos-keyauth.md"
section: "zymba-reference"
authority: "reference"
language: "en"
source_repository: "https://cloud.zeyos.com/__doc/zymbaref.json"
source_sha256: "05a361c6ddc32e74f4a6dc16fd06f218210ff1b7ce57f26ca1994bfffc407915"
---

# ZeyOS.KeyAuth

## ZeyOS.KeyAuth

```
object @ZeyOS.KeyAuth() {
	create(string $key): string {}
	verify(string $key): bool {}
}
```

## Functions


### `@ZeyOS.KeyAuth.create()`


```code
@ZeyOS.KeyAuth.create(string $key): string
```

##### Parameters

| Name | Type | Value | Default |
| --- | --- | --- | --- |
| key | `string`  |  | "" |

##### Returns

| Type | Value |
| --- | ---  |
| `string` |  |




### `@ZeyOS.KeyAuth.verify()`


```code
@ZeyOS.KeyAuth.verify(string $key): bool
```

##### Parameters

| Name | Type | Value | Default |
| --- | --- | --- | --- |
| key | `string`  |  | "" |

##### Returns

| Type | Value |
| --- | ---  |
| `bool` |  |
| `null` |  |
