Interface ClientChallenge

Client side of a challenge.

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

Implemented by

Properties

challengeId: string

Challenge module identifier.

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

Create a message to continue the challenge.

Type declaration

    • (context): Promise<ParameterKV>
    • Create a message to continue the challenge.

      Parameters

      Returns Promise<ParameterKV>

      Parameter key-value pairs to send to server in continuing CHALLENGE request.

Returns

Parameter key-value pairs to send to server in continuing CHALLENGE request.

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

Create a message to select and start the challenge.

Type declaration

Returns

Parameter key-value pairs to send to server in initial CHALLENGE request.

Generated using TypeDoc