Interface AttemptGrant

One authorized attempt, as an adapter holds it.

interface AttemptGrant {
    attemptId: string;
    rateVersion: string;
    maxQuantities: Readonly<Record<string, number>>;
    remainingAttempts: number;
}

Properties

attemptId: string
rateVersion: string

The snapshot the attempt is priced under.

maxQuantities: Readonly<Record<string, number>>

The most of each component the attempt may use; an adapter caps its request with these.

remainingAttempts: number