Skip to content

Documentation / @imvu/verify / VerifyChallengeOptions

Interface: VerifyChallengeOptions ​

Defined in: verify.ts:7

Properties ​

expect? ​

ts
expect?: object;

Defined in: verify.ts:18

Require the token to have been issued for this IMVU user and/or subject.

subject? ​

ts
subject?: string;

userId? ​

ts
userId?: string | number;

lookup? ​

ts
lookup?: ProofLookup;

Defined in: verify.ts:14

Where to look for the code. Defaults to the user's tagline, read anonymously from the public REST API (see taglineLookup).


maxAge? ​

ts
maxAge?: number;

Defined in: verify.ts:16

Reject tokens older than this many milliseconds. Expiry is otherwise the caller's policy.


now? ​

ts
now?: Date;

Defined in: verify.ts:20

Override the clock (tests).


secret ​

ts
secret: ChallengeSecret;

Defined in: verify.ts:8


token ​

ts
token: string;

Defined in: verify.ts:9

Released under the MIT License.