Поле · Jwt

Поле · Jwt · internet.jwt. Метод генерации · Пример

internet.jwt

Настройки генератора

Создайте данные для просмотра результатов.

Параметры & Пример

Generates a random JWT (JSON Web Token).

internet.jwt(options?: { header?, payload?, refDate? })
options
The optional options object.
options.header
The Header to use for the token. Defaults to a random object with the following fields: alg and typ.
options.payload
The Payload to use for the token. Defaults to a random object with the following fields: iat, exp, nbf, iss, sub, aud, and jti.
options.refDate
The date to use as reference point for the newly generated date.

Пример

"eyJhbGciOiJFUzM4NCIsInR5cCI6IkpXVCJ9.eyJpYXQiOjE3NjcxOTY5MTcsImV4cCI6MTc2NzI1MDMxMiwibmJmIjoxNzM5OTE2NDQxLCJpc3MiOiJTcGlua2EsIFNjaGlsbGVyIGFuZCBTbWl0aGFtIiwic3ViIjoiYmU0YTY3ZjQtNDQ5OC00NGEwLTkxOTU…

Используйте синтетические данные в тестовой среде.

Похожие генераторы

Выбрать сценарий