Files
hublib-ios/README.md
2025-05-29 14:06:12 +03:00

11 lines
574 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

## Модуль библиотеки шифрования для iOS
Как использовать?
1. получить время в данный момент с помощью unix timestamp
2. сунуть timestamp, user-agent, path (роут, например /api/v1/guestlogin) в get_secret_value
3. на целевой эндпоинт отправить header-ы в формате
{
'X-Request-Time': таймстемп в формате rfc2822,
'User-Agent': ну тут ясно,
'Client-info': результат вызова get_secret_value
}