iya-sts
    Preparing search index...

    Variable checkTokenRequest

    checkTokenRequest: (
        opts: any,
    ) =>
        | {
            description: string;
            error: string;
            errorCode: string;
            ok: boolean;
            requirement: string;
        }
        | {
            description?: undefined;
            error?: undefined;
            errorCode?: undefined;
            ok: boolean;
            requirement?: undefined;
        } = checkTokenRequest

    Type Declaration

      • (
            opts: any,
        ):
            | {
                description: string;
                error: string;
                errorCode: string;
                ok: boolean;
                requirement: string;
            }
            | {
                description?: undefined;
                error?: undefined;
                errorCode?: undefined;
                ok: boolean;
                requirement?: undefined;
            }
      • Checks a code redemption: the code was issued to this client with this redirect_uri (in every mode), and in RFC 9700 mode no code_verifier is smuggled in where no challenge was made.

        Parameters

        • opts: any

          record (the code's), body and client

        Returns
            | {
                description: string;
                error: string;
                errorCode: string;
                ok: boolean;
                requirement: string;
            }
            | {
                description?: undefined;
                error?: undefined;
                errorCode?: undefined;
                ok: boolean;
                requirement?: undefined;
            }

        { ok: true }, or { ok: false, errorCode, error, requirement, description }