Documentation / @imvu/verify / CreateChallengeOptions
Interface: CreateChallengeOptions
Defined in: challenge.ts:28
Properties
now?
ts
now?: Date;Defined in: challenge.ts:40
Override the clock (tests).
prefix?
ts
prefix?: string;Defined in: challenge.ts:38
Code prefix. Defaults to IMVU.
secret
ts
secret: ChallengeSecret;Defined in: challenge.ts:29
subject?
ts
subject?: string;Defined in: challenge.ts:36
Who is asking, in the consumer's terms (a site account id, a Discord id, …). Binding it means a proof can only link the IMVU account to that subject.
userId
ts
userId: string | number;Defined in: challenge.ts:31
The IMVU user id (cid) whose ownership is being proven.