Auth
🔓 Сквозная авторизация по одноразовому handoff-коду: выпускает СОБСТВЕННУЮ сессию, дочернюю к выпустившей код. Инвалидация родителя каскадно гасит дочернюю.
Сквозная авторизация по одноразовому handoff-коду: выпускает СОБСТВЕННУЮ сессию, дочернюю к выпустившей код. Инвалидация родителя каскадно гасит дочернюю.
Access: unauthorized (0 ) · Scope: write · только веб-сессия
TypeScript (copy-paste)
POST /signin/handoff
<details open><summary><b>Body</b></summary>export interface SigninHandoffBody {
code: string
}
</details>
<details open><summary><b>Response</b></summary>
export type SigninHandoffResponse = IServerResponse<Resp_signin_handoff>
export interface IServerResponse<T = any> {
code: number
data: T
srvTS: number
rkey: string
}
</details>
Полный файл типов: /docs/types · raw: /docs/api-types.ts
post/signin/handoff
Request
- Base URL: http://localhost
- URL: http://localhost/signin/handoff
- Auth: none required
Headers
devIDstring uuid required
UUID устройства клиента
tzstring required
Example:Europe/Moscow
Таймзона клиента (IANA или offset)
appstring required
Example:kosmodrom-web
Имя клиентского приложения
appVerstring required
Example:1.0.0
Версия клиента
rKeystring
Уникальный ключ запроса для логов/саппорта
Request body
Response
OK — IServerResponse<Resp_signin_handoff>
Example response
{
"code": 200
}Changes
No recorded changes to this operation across all 1 revision of this API.