iya-sts
    Preparing search index...

    Variable checkRefreshRequest

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

    Type Declaration

      • (
            opts: any,
        ):
            | {
                description: string;
                error: string;
                errorCode: string;
                ok: boolean;
                requirement: string;
            }
            | {
                description?: undefined;
                error?: undefined;
                errorCode?: undefined;
                ok: boolean;
                requirement?: undefined;
            }
      • Decides what this server thinks of the refresh token presented: RFC 6749 section 6 in every mode, replay detection while rotation is required, and the idle timeout, client binding and scope check in RFC 9700 mode.

        Parameters

        • opts: any

          claims, body and clientId

        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 }, with revoke naming what to revoke