itd-api / PhoneConsent
Interface: PhoneConsent
Defined in: models/phone-auth.ts:37
Текст и редакции документов, с которыми пользователь соглашается при входе.
Properties
bundle
ts
bundle: object;Defined in: models/phone-auth.ts:47
actions
ts
actions: Record<string, string>;actionVersion
ts
actionVersion: string;documents
ts
documents: ConsentDocument[];flow
ts
flow: "phone_entry";id
ts
id: string;submitLabel
ts
submitLabel: string;text
ts
text: object[];contextToken
ts
contextToken: string;Defined in: models/phone-auth.ts:41
Подписанный контекст; в start() передаётся без изменения.
expiresAt
ts
expiresAt: number;Defined in: models/phone-auth.ts:46
Срок действия контекста, Unix-время в миллисекундах.
id
ts
id: string;Defined in: models/phone-auth.ts:42
issuedAt
ts
issuedAt: number;Defined in: models/phone-auth.ts:44
Время выдачи контекста, Unix-время в миллисекундах.
protocolVersion
ts
protocolVersion: number;Defined in: models/phone-auth.ts:39
Версия протокола из consent(); передаётся серверу вместе с contextToken.