Interface ClientChallenge

Client side of a challenge.

interface ClientChallenge {
    challengeId: string;
    next: ((context: ClientChallengeContext) => Promise<ParameterKV>);
    start: ((context: ClientChallengeStartContext) => Promise<ParameterKV>);
}

Implemented by

Properties

challengeId: string

Challenge module identifier.

next: ((context: ClientChallengeContext) => Promise<ParameterKV>)

Create a message to continue the challenge.

Type declaration

start: ((context: ClientChallengeStartContext) => Promise<ParameterKV>)

Create a message to select and start the challenge.

Type declaration