videosphere
    Preparing search index...

    Function clearTotpTrustCookie

    • Clears the TOTP trust cookie on a response (e.g. when switching to Google sign-in).

      Parameters

      • response: {
            cookies: {
                set: (
                    name: string,
                    value: string,
                    options: {
                        path: string;
                        httpOnly: boolean;
                        sameSite: "lax";
                        secure: boolean;
                        maxAge: number;
                    },
                ) => void;
            };
        }

        Response whose cookies should be updated.

      Returns void