2023-04-25 16:58:47 +02:00
|
|
|
---
|
|
|
|
title: jwtAuth
|
2023-08-27 10:55:55 +02:00
|
|
|
slug: /main-concepts/metadata-standard/schemas/auth/jwtauth
|
2023-04-25 16:58:47 +02:00
|
|
|
---
|
|
|
|
|
|
|
|
# JWTAuthMechanism
|
|
|
|
|
|
|
|
*User/Bot JWTAuthMechanism.*
|
|
|
|
|
|
|
|
## Properties
|
|
|
|
|
2025-01-15 17:46:55 +05:30
|
|
|
- **`JWTToken`** *(string, format: password)*: JWT Auth Token.
|
|
|
|
- **`JWTTokenExpiry`**: Refer to *[#/definitions/JWTTokenExpiry](#definitions/JWTTokenExpiry)*.
|
|
|
|
- **`JWTTokenExpiresAt`**: JWT Auth Token expiration time. Refer to *[../type/basic.json#/definitions/timestamp](#/type/basic.json#/definitions/timestamp)*.
|
2023-04-25 16:58:47 +02:00
|
|
|
## Definitions
|
|
|
|
|
2025-01-15 17:46:55 +05:30
|
|
|
- **`JWTTokenExpiry`** *(string)*: JWT Auth Token expiration in days. Must be one of: `["OneHour", "1", "7", "30", "60", "90", "Unlimited"]`.
|
2023-04-25 16:58:47 +02:00
|
|
|
|
|
|
|
|
2025-01-15 17:46:55 +05:30
|
|
|
Documentation file automatically generated at 2025-01-15 09:05:25.266839+00:00.
|