Find this useful? Enter your email to receive occasional updates for securing PHP code.

Signing you up...

Thank you for signing up!

PHP Decode

<?php namespace MoOauthClient\Standard; use MoOauthClient\LoginHandler as FreeLogi..

Decoded Output download

<?php 
 
 
namespace MoOauthClient\Standard; 
 
use MoOauthClient\LoginHandler as FreeLoginHandler; 
use MoOauthClient\Config; 
use MoOauthClient\StorageManager; 
use MoOauthClient\MO_Oauth_Debug; 
class LoginHandler extends FreeLoginHandler 
{ 
    public $config; 
    public function handle_group_test_conf($Kx = array(), $FX = array(), $Ah = '', $i1 = false, $MU = false) 
    { 
        global $H0; 
        MO_Oauth_Debug::mo_oauth_log("Group user endpoint configured."); 
        $this->render_test_config_output($Kx, false); 
        if (!(!isset($FX["groupdetailsurl"]) || '' === $FX["groupdetailsurl"])) { 
            goto vs; 
        } 
        return; 
        vs: 
        $IQ = []; 
        $pL = $FX["groupdetailsurl"]; 
        if (!(strpos($pL, "api.clever.com") != false && isset($Kx["data"]["id"]))) { 
            goto Dw; 
        } 
        $pL = str_replace("userid", $Kx["data"]["id"], $pL); 
        Dw: 
        MO_Oauth_Debug::mo_oauth_log("Group Details URL: " . $pL); 
        if (!('' === $Ah)) { 
            goto LM; 
        } 
        if (has_filter("mo_oauth_cfa_group_details")) { 
            goto Qv; 
        } 
        MO_Oauth_Debug::mo_oauth_log("Access Token Empty"); 
        return; 
        Qv: 
        LM: 
        if (!('' !== $pL)) { 
            goto uW; 
        } 
        if (has_filter("mo_oauth_cfa_group_details")) { 
            goto rB; 
        } 
        if (has_filter("mo_oauth_group_details")) { 
            goto T4; 
        } 
        if (has_filter("mo_oauth_raven_group_details")) { 
            goto dR; 
        } 
        if (has_filter("mo_oauth_noviams_group_details")) { 
            goto LC; 
        } 
        $IQ = $this->oauth_handler->get_resource_owner($pL, $Ah); 
        goto Uw; 
        LC: 
        $IQ = apply_filters("mo_oauth_noviams_group_details", $Kx, $pL); 
        Uw: 
        goto dV; 
        dR: 
        $IQ = apply_filters("mo_oauth_raven_group_details", $Kx["email"], $pL, $Ah, $FX, $i1); 
        dV: 
        goto W_; 
        T4: 
        $IQ = apply_filters("mo_oauth_group_details", $pL, $Ah, $FX, $i1); 
        W_: 
        goto BC; 
        rB: 
        MO_Oauth_Debug::mo_oauth_log("Fetching CFA Group.."); 
        $IQ = apply_filters("mo_oauth_cfa_group_details", $Kx, $pL, $Ah, $FX, $i1); 
        BC: 
        MO_Oauth_Debug::mo_oauth_log("Group Details => "); 
        MO_Oauth_Debug::mo_oauth_log($IQ); 
        $ff = $H0->mo_oauth_client_get_option("mo_oauth_attr_name_list" . $FX["appId"]); 
        $ty = []; 
        $U1 = $this->dropdownattrmapping('', $IQ, $ty); 
        $ff = (array) $ff + $U1; 
        $H0->mo_oauth_client_update_option("mo_oauth_attr_name_list" . $FX["appId"], $ff); 
        if (!($MU && '' !== $MU)) { 
            goto xV; 
        } 
        if (!(is_array($IQ) && !empty($IQ))) { 
            goto oM; 
        } 
        $this->render_test_config_output($IQ, true); 
        oM: 
        return; 
        xV: 
        uW: 
    } 
    public function handle_group_user_info($Kx, $FX, $Ah) 
    { 
        MO_Oauth_Debug::mo_oauth_log("Group user endpoint configured."); 
        if (!(!isset($FX["groupdetailsurl"]) || '' === $FX["groupdetailsurl"])) { 
            goto x7; 
        } 
        return $Kx; 
        x7: 
        $pL = $FX["groupdetailsurl"]; 
        if (!(strpos($pL, "api.clever.com") != false && isset($Kx["data"]["id"]))) { 
            goto AH; 
        } 
        $pL = str_replace("userid", $Kx["data"]["id"], $pL); 
        AH: 
        if (!('' === $Ah)) { 
            goto Wu; 
        } 
        return $Kx; 
        Wu: 
        $IQ = array(); 
        if (!('' !== $pL)) { 
            goto Wm; 
        } 
        if (has_filter("mo_oauth_cfa_group_details")) { 
            goto WU; 
        } 
        if (has_filter("mo_oauth_group_details")) { 
            goto Nu; 
        } 
        if (has_filter("mo_oauth_raven_group_details")) { 
            goto sH; 
        } 
        if (has_filter("mo_oauth_noviams_group_details")) { 
            goto my; 
        } 
        $IQ = $this->oauth_handler->get_resource_owner($pL, $Ah); 
        goto j2; 
        my: 
        $IQ = apply_filters("mo_oauth_noviams_group_details", $Kx, $pL); 
        j2: 
        goto u2; 
        sH: 
        $IQ = apply_filters("mo_oauth_raven_group_details", $Kx["email"], $pL, $Ah, $FX, $i1); 
        u2: 
        goto Vp; 
        Nu: 
        $IQ = apply_filters("mo_oauth_group_details", $pL, $Ah, $FX); 
        Vp: 
        goto iG; 
        WU: 
        MO_Oauth_Debug::mo_oauth_log("Fetching CFA Group.."); 
        $IQ = apply_filters("mo_oauth_cfa_group_details", $Kx, $pL, $Ah, $FX, $i1); 
        iG: 
        Wm: 
        MO_Oauth_Debug::mo_oauth_log("Group Details => "); 
        MO_Oauth_Debug::mo_oauth_log($IQ); 
        if (!(is_array($IQ) && count($IQ) > 0)) { 
            goto rf; 
        } 
        $Kx = array_merge($Kx, $IQ); 
        rf: 
        MO_Oauth_Debug::mo_oauth_log("Resource Owner After merging with Group detials => "); 
        MO_Oauth_Debug::mo_oauth_log($Kx); 
        return $Kx; 
    } 
    public function mo_oauth_client_map_default_role($o_, $FX) 
    { 
        MO_Oauth_Debug::mo_oauth_log("Only default role mapped"); 
        $jK = new \WP_User($o_); 
        if (!(isset($FX["enable_role_mapping"]) && !boolval($FX["enable_role_mapping"]))) { 
            goto Fm; 
        } 
        $jK->set_role(''); 
        return; 
        Fm: 
        if (!(isset($FX["_mapping_value_default"]) && '' !== $FX["_mapping_value_default"])) { 
            goto AF; 
        } 
        $CT = explode(",", $FX["_mapping_value_default"]); 
        $mQ = 0; 
        foreach ($CT as $nK) { 
            if (!(0 === $mQ)) { 
                goto jC; 
            } 
            $jK->set_role(''); 
            jC: 
            $nK = trim($nK); 
            $jK->add_role($nK); 
            $mQ++; 
            Tq: 
        } 
        yT: 
        AF: 
    } 
    public function handle_sso($Hr, $FX, $Kx, $Wh, $k0, $aV = false) 
    { 
        global $H0; 
        $aQ = new StorageManager($Wh); 
        do_action("mo_oauth_link_discord_account", $aQ, $Kx); 
        $EN = isset($FX["username_attr"]) ? $FX["username_attr"] : ''; 
        $wu = isset($FX["email_attr"]) ? $FX["email_attr"] : ''; 
        $nZ = isset($FX["firstname_attr"]) ? $FX["firstname_attr"] : ''; 
        $pJ = isset($FX["lastname_attr"]) ? $FX["lastname_attr"] : ''; 
        $DN = isset($FX["display_attr"]) ? $FX["display_attr"] : ''; 
        $Eb = $H0->getnestedattribute($Kx, $EN); 
        $U2 = $H0->getnestedattribute($Kx, $wu); 
        $ZA = $H0->getnestedattribute($Kx, $nZ); 
        $r3 = $H0->getnestedattribute($Kx, $pJ); 
        $GD = $Eb; 
        $this->config = $H0->mo_oauth_client_get_option("mo_oauth_client_config"); 
        $this->config = !$this->config || empty($this->config) ? array() : $this->config->get_current_config(); 
        $xi = isset($this->config["activate_user_analytics"]) ? $this->config["activate_user_analytics"] : 0; 
        $current_user = wp_get_current_user(); 
        if (!($current_user->ID !== 0)) { 
            goto xv; 
        } 
        do_action("mo_oauth_discord_flow_handle", $current_user, $k0, $Kx); 
        do_action("mo_oauth_logged_in_user_tag_update", $current_user, $k0, $Kx); 
        $Cl = get_option("mo_drm_sync_redirect"); 
        if (!(isset($Cl) && $Cl)) { 
            goto zE; 
        } 
        wp_redirect($Cl); 
        exit; 
        zE: 
        xv: 
        if (empty($DN)) { 
            goto Rp; 
        } 
        switch ($DN) { 
            case "FNAME": 
                $GD = $ZA; 
                goto rW; 
            case "LNAME": 
                $GD = $r3; 
                goto rW; 
            case "USERNAME": 
                $GD = $Eb; 
                goto rW; 
            case "FNAME_LNAME": 
                $GD = $ZA . " " . $r3; 
                goto rW; 
            case "LNAME_FNAME": 
                $GD = $r3 . " " . $ZA; 
            default: 
                goto rW; 
        } 
        GJ: 
        rW: 
        Rp: 
        if (!empty($Eb)) { 
            goto RW; 
        } 
        MO_Oauth_Debug::mo_oauth_log("Username : " . $Eb); 
        $this->check_status(array("msg" => "Username not received. Check your <strong>Attribute Mapping</strong> configuration.", "code" => "UNAME", "status" => false, "application" => $Hr, "email" => '', "username" => ''), $xi); 
        RW: 
        if (!(!empty($U2) && false === strpos($U2, "@"))) { 
            goto TO; 
        } 
        $this->check_status(array("msg" => "Mapped Email attribute does not contain valid email.", "code" => "EMAIL", "status" => false, "application" => $Hr, "client_ip" => $H0->get_client_ip(), "email" => $U2, "username" => $Eb), $xi); 
        TO: 
        if (!is_multisite()) { 
            goto D0; 
        } 
        $blog_id = $aQ->get_value("blog_id"); 
        switch_to_blog($blog_id); 
        do_action("mo_oauth_client_concord_restrict_login", $FX, $Kx, $blog_id); 
        D0: 
        if (!has_action("mo_oauth_client_save_user_in_session")) { 
            goto v3; 
        } 
        do_action("mo_oauth_client_save_user_in_session", array("app_config" => $FX, "storage_manager" => $aQ, "resource_owner" => $Kx, "username" => $Eb)); 
        v3: 
        do_action("mo_oauth_restrict_emails", $U2, $this->config); 
        if (!has_filter("mo_oauth_modify_username_attr")) { 
            goto pu; 
        } 
        $Eb = apply_filters("mo_oauth_modify_username_attr", $Kx); 
        pu: 
        if (!has_filter("mo_oauth_check_user_authorised")) { 
            goto rM; 
        } 
        $Eb = apply_filters("mo_oauth_check_user_authorised", $Kx, $Eb); 
        rM: 
        $user = get_user_by("login", $Eb); 
        $fB = isset($FX["allow_duplicate_emails"]) ? true : false; 
        if ($user) { 
            goto F0; 
        } 
        if (!(!$fB || $fB && !$FX["allow_duplicate_emails"])) { 
            goto VH; 
        } 
        $user = get_user_by("email", $U2); 
        VH: 
        F0: 
        $o_ = $user ? $user->ID : 0; 
        $Sx = 0 === $o_; 
        if (!has_filter("mo_oauth_get_user_by_email")) { 
            goto n_; 
        } 
        $user = apply_filters("mo_oauth_get_user_by_email", $Eb, $U2); 
        n_: 
        if (!has_filter("mo_oauth_check_user_by_email")) { 
            goto k8; 
        } 
        $Sx = apply_filters("mo_oauth_check_user_by_email", $Eb, $U2); 
        k8: 
        $o_ = $user ? $user->ID : 0; 
        if (!(isset($FX["autocreateusers"]) && 1 !== intval($FX["autocreateusers"]))) { 
            goto I9; 
        } 
        $blog_id = 1; 
        $Um = apply_filters("mo_oauth_client_disable_auto_create_users_for_specific_idp", $o_, $blog_id, $this->config, $FX); 
        $this->config = $Um[0]; 
        $FX = $Um[1]; 
        I9: 
        if (!(!(isset($this->config["auto_register"]) && 1 === intval($this->config["auto_register"])) && $Sx)) { 
            goto IE; 
        } 
        MO_Oauth_Debug::mo_oauth_log("Registration is disabled for this site. Please check Auto register user settings. "); 
        $this->check_status(array("msg" => "Registration is disabled for this site. Please contact your administrator", "code" => "REGISTRATION_DISABLED", "status" => false, "application" => $Hr, "client_ip" => $H0->get_client_ip(), "email" => $U2, "username" => $Eb), $xi); 
        IE: 
        if (!$Sx) { 
            goto Ry; 
        } 
        $E5 = 10; 
        $Hw = false; 
        $eM = false; 
        $mA = apply_filters("mo_oauth_password_policy_manager", $E5); 
        if (!is_array($mA)) { 
            goto kb; 
        } 
        $E5 = intval($mA["password_length"]); 
        $Hw = $mA["special_characters"]; 
        $eM = $mA["extra_special_characters"]; 
        kb: 
        $Og = wp_generate_password($E5, $Hw, $eM); 
        $Sh = get_user_by("email", $U2); 
        if (!$Sh) { 
            goto BY; 
        } 
        add_filter("pre_user_email", array($this, "skip_email_exist"), 30); 
        BY: 
        $Eb = apply_filters("mo_oauth_get_username_with_postfix_added", $Eb, $U2); 
        $o_ = wp_create_user($Eb, $Og, $U2); 
        if (!is_wp_error($o_)) { 
            goto Mw; 
        } 
        MO_Oauth_Debug::mo_oauth_log("Error creating WP user"); 
        wp_die("<b>Error:</b> Username contains special characters. Please contact your administrator."); 
        goto Rn; 
        Mw: 
        MO_Oauth_Debug::mo_oauth_log("New user created =>"); 
        MO_Oauth_Debug::mo_oauth_log("User ID => " . $o_); 
        Rn: 
        $eB = array("ID" => $o_, "user_email" => $U2, "user_login" => $Eb, "user_nicename" => $Eb); 
        do_action("user_register", $o_, $eB); 
        Ry: 
        if (!($Sx || (!isset($this->config["keep_existing_users"]) || 1 !== intval($this->config["keep_existing_users"])))) { 
            goto lV; 
        } 
        if (!is_wp_error($o_)) { 
            goto LS; 
        } 
        if (!get_user_by("login", $Eb)) { 
            goto je; 
        } 
        $o_ = get_user_by("login", $Eb)->ID; 
        je: 
        LS: 
        $Iv = array("ID" => $o_, "first_name" => $ZA, "last_name" => $r3, "display_name" => $GD, "user_login" => $Eb, "user_nicename" => $Eb); 
        if (isset($this->config["keep_existing_email_attr"]) && 1 === intval($this->config["keep_existing_email_attr"])) { 
            goto iB; 
        } 
        $Iv["user_email"] = $U2; 
        wp_update_user($Iv); 
        MO_Oauth_Debug::mo_oauth_log("Attribute Mapping Done"); 
        goto lr; 
        iB: 
        wp_update_user($Iv); 
        MO_Oauth_Debug::mo_oauth_log("Attribute Mapping updated except email."); 
        lr: 
        if (!isset($Kx["sub"])) { 
            goto MJ; 
        } 
        update_user_meta($o_, "mo_backchannel_attr_sub", $Kx["sub"]); 
        MJ: 
        if (!isset($Kx["sid"])) { 
            goto j8; 
        } 
        update_user_meta($o_, "mo_backchannel_attr_sid", $Kx["sid"]); 
        j8: 
        update_user_meta($o_, "mo_oauth_buddypress_attributes", $Kx); 
        MO_Oauth_Debug::mo_oauth_log("BuddyPress attributes updated successfully"); 
        lV: 
        $user = get_user_by("ID", $o_); 
        MO_Oauth_Debug::mo_oauth_log("User Found"); 
        MO_Oauth_Debug::mo_oauth_log("User ID => " . $o_); 
        $Hp = $H0->is_multisite_plan(); 
        if (!is_multisite()) { 
            goto U9; 
        } 
        MO_Oauth_Debug::mo_oauth_log("Multisite Plan"); 
        $EG = $H0->mo_oauth_client_get_option("mo_oauth_c3Vic2l0ZXNzZWxlY3RlZA"); 
        $Gx = array(); 
        if (!isset($EG)) { 
            goto wy; 
        } 
        $Gx = json_decode($H0->mooauthdecrypt($EG), true); 
        wy: 
        $M0 = false; 
        if (!(is_array($Gx) && in_array($blog_id, $Gx))) { 
            goto Iu; 
        } 
        $M0 = true; 
        Iu: 
        $fT = intval($H0->mo_oauth_client_get_option("noOfSubSites")); 
        $In = get_sites(["number" => 1000]); 
        if (!(is_multisite() && $Hp && ($Hp && !$M0 && $fT < 1000))) { 
            goto A0; 
        } 
        $oC = "You have not upgraded to the correct license plan. Either you have purchased for incorrect no. of sites or you have created a new subsite. Contact to your administrator to upgrade your subsite."; 
        MO_Oauth_Debug::mo_oauth_log($oC); 
        $H0->handle_error($oC); 
        wp_die($oC); 
        A0: 
        U9: 
        if ($user) { 
            goto Xk; 
        } 
        return; 
        Xk: 
        $p0 = ''; 
        if (isset($this->config["after_login_url"]) && '' !== $this->config["after_login_url"]) { 
            goto J4; 
        } 
        $Qg = $aQ->get_value("redirect_uri"); 
        $vN = parse_url($Qg); 
        MO_Oauth_Debug::mo_oauth_log("Redirect Url components =>"); 
        MO_Oauth_Debug::mo_oauth_log($vN); 
        if (!(isset($vN["path"]) && strpos($vN["path"], "wp-login.php") !== false)) { 
            goto bx; 
        } 
        $Qg = site_url(); 
        bx: 
        if (!isset($vN["query"])) { 
            goto jv; 
        } 
        parse_str($vN["query"], $zS); 
        if (!isset($zS["redirect_to"])) { 
            goto B3; 
        } 
        $Qg = $zS["redirect_to"]; 
        B3: 
        jv: 
        $p0 = rawurldecode($Qg && '' !== $Qg ? $Qg : site_url()); 
        MO_Oauth_Debug::mo_oauth_log("Custom URL after login default =>" . $p0); 
        $V6 = isset($this->config["whitelist_redirect_url"]) ? $this->config["whitelist_redirect_url"] : ''; 
        $M0 = false; 
        $SW = isset($this->config["whitelist_redirect_urls"]) ? $this->config["whitelist_redirect_urls"] : ''; 
        if (!(!empty($SW) && isset($SW) && isset($V6) && !empty($V6))) { 
            goto qF; 
        } 
        $dq = explode(";", $SW); 
        MO_Oauth_Debug::mo_oauth_log("Whitelist Redirect Urls =>"); 
        MO_Oauth_Debug::mo_oauth_log($dq); 
        $p0 = strtolower($p0); 
        $p0 = trim(trim($p0), "/"); 
        MO_Oauth_Debug::mo_oauth_log("SSO Redirect Url=>"); 
        MO_Oauth_Debug::mo_oauth_log($p0); 
        foreach ($dq as $cW) { 
            $cW = strtolower($cW); 
            if (!ctype_space(substr($cW, -1))) { 
                goto rI; 
            } 
            $cW = substr_replace($cW, '', -1); 
            rI: 
            $cW = trim(trim($cW), "/"); 
            if (!(substr($cW, -1) == "*")) { 
                goto y2; 
            } 
            $cW = substr_replace($cW, '', -1); 
            $cW = trim($cW, "/"); 
            if (!(strpos($p0, $cW) !== false)) { 
                goto cM; 
            } 
            $M0 = true; 
            goto Lk; 
            cM: 
            y2: 
            if (!(strcmp($p0, $cW) == 0)) { 
                goto ZC; 
            } 
            $M0 = true; 
            goto Lk; 
            ZC: 
            nF: 
        } 
        Lk: 
        if ($M0) { 
            goto pK; 
        } 
        $p0 = home_url(); 
        pK: 
        qF: 
        if (!(strpos($p0, "mo_change_to_hash") !== false)) { 
            goto ob; 
        } 
        $p0 = str_replace("mo_change_to_hash", "#", $p0); 
        ob: 
        if (!has_filter("mo_oauth_dis_update_actual_link")) { 
            goto mN; 
        } 
        $p0 = apply_filters("mo_oauth_dis_update_actual_link", $p0, $Eb); 
        mN: 
        goto KO; 
        J4: 
        $p0 = $this->config["after_login_url"]; 
        MO_Oauth_Debug::mo_oauth_log("Custom URL after login configured. =>" . $p0); 
        KO: 
        if (!($H0->get_versi() === 1)) { 
            goto ZI; 
        } 
        if (isset($FX["enable_role_mapping"])) { 
            goto ex; 
        } 
        $FX["enable_role_mapping"] = true; 
        if (!(isset($FX["client_creds_encrpyted"]) && boolval($FX["client_creds_encrpyted"]))) { 
            goto SS; 
        } 
        $FX["client_id"] = $H0->mooauthencrypt($FX["client_id"]); 
        $FX["client_secret"] = $H0->mooauthencrypt($FX["client_secret"]); 
        SS: 
        $H0->set_app_by_name($F3["app_name"], $FX); 
        ex: 
        if (!(!user_can($o_, "administrator") && $Sx || !isset($FX["keep_existing_user_roles"]) || 1 !== intval($FX["keep_existing_user_roles"]))) { 
            goto ZE; 
        } 
        $this->mo_oauth_client_map_default_role($o_, $FX); 
        MO_Oauth_Debug::mo_oauth_log("Role Mapping Done"); 
        ZE: 
        ZI: 
        do_action("mo_oauth_client_map_roles", array("user_id" => $o_, "app_config" => $FX, "new_user" => $Sx, "resource_owner" => $Kx, "app_name" => $Hr, "config" => $this->config)); 
        MO_Oauth_Debug::mo_oauth_log("Role Mapping Done"); 
        do_action("mo_oauth_logged_in_user_token", $user, $k0); 
        do_action("mo_oauth_add_dis_user_server", $o_, $k0, $Kx); 
        $this->check_status(array("msg" => "Login Successful!", "code" => "LOGIN_SUCCESS", "status" => true, "application" => $Hr, "client_ip" => $H0->get_client_ip(), "navigationurl" => $p0, "email" => $U2, "username" => $Eb), $xi); 
        if (!$aV) { 
            goto K2; 
        } 
        return $user; 
        K2: 
        do_action("mo_oauth_set_login_cookie"); 
        do_action("mo_oauth_get_user_attrs", $user, $Kx); 
        update_user_meta($user->ID, "mo_oauth_client_last_id_token", isset($k0["id_token"]) ? $k0["id_token"] : $k0["access_token"]); 
        wp_set_current_user($user->ID); 
        $J2 = false; 
        $J2 = apply_filters("mo_remember_me", $J2); 
        wp_set_auth_cookie($user->ID, $J2); 
        MO_Oauth_Debug::mo_oauth_log("WP OAuth cookie setted."); 
        if (!isset($Kx["roles"])) { 
            goto p1; 
        } 
        apply_filters("mo_oauth_update_bbp_role", $user->ID, $Kx["roles"]); 
        p1: 
        if (!has_action("mo_hack_login_session_redirect")) { 
            goto OA; 
        } 
        $qp = $H0->gen_rand_str(); 
        $SF = $H0->gen_rand_str(); 
        $mA = array("user_id" => $user->ID, "user_password" => $SF); 
        set_transient($qp, $mA); 
        do_action("mo_hack_login_session_redirect", $user, $SF, $qp, $p0); 
        OA: 
        do_action("wp_login", $user->user_login, $user); 
        MO_Oauth_Debug::mo_oauth_log("User logged in"); 
        setcookie("mo_oauth_login_app_session", $Hr, time() + 120, "/", null, true, true); 
        do_action("mo_oauth_get_token_for_headless", $user, $k0, $p0); 
        do_action("mo_oauth_get_current_appname", $Hr); 
        $Be = $aQ->get_value("restrictredirect") !== false; 
        $QX = $aQ->get_value("popup") === "ignore"; 
        if (isset($this->config["popup_login"]) && 1 === intval($this->config["popup_login"]) && !$QX && !boolval($Be)) { 
            goto Wc; 
        } 
        do_action("mo_oauth_redirect_oauth_users", $user, $p0); 
        MO_Oauth_Debug::mo_oauth_log("User redirected to =>" . $p0); 
        wp_redirect($p0); 
        goto Ke; 
        Wc: 
        MO_Oauth_Debug::mo_oauth_log("Opened login window in popup."); 
        if (!has_filter("mo_oauth_redirect_oauth_users")) { 
            goto G3; 
        } 
        $p0 = apply_filters("mo_oauth_redirect_oauth_users", $user, $p0); 
        G3: 
        MO_Oauth_Debug::mo_oauth_log("User redirected to =>" . $p0); 
        echo "<script>\xa\x9\x9	if (window.opener && typeof window.opener.HandlePopupResult === "function") {\xa\x9	\x9	window.opener.HandlePopupResult("" . $p0 . "");window.close();\xa		\x9} else {\xa			\x9window.location.replace("" . $p0 . "");
			}\xa		\x9</script>"; 
        Ke: 
        exit; 
    } 
    public function check_status($F3, $xi) 
    { 
        global $H0; 
        if (isset($F3["status"])) { 
            goto YM; 
        } 
        MO_Oauth_Debug::mo_oauth_log("Something went wrong. Please try Logging in again."); 
        $H0->handle_error("Something went wrong. Please try Logging in again."); 
        wp_die(wp_kses("Something went wrong. Please try Logging in again.", \mo_oauth_get_valid_html())); 
        YM: 
        if (!(isset($F3["status"]) && true === $F3["status"] && (isset($F3["code"]) && "LOGIN_SUCCESS" === $F3["code"]))) { 
            goto Rx; 
        } 
        return true; 
        Rx: 
        if (!(true !== $F3["status"])) { 
            goto Bt; 
        } 
        $t0 = isset($F3["msg"]) && !empty($F3["msg"]) ? $F3["msg"] : "Something went wrong. Please try Logging in again."; 
        MO_Oauth_Debug::mo_oauth_log($t0); 
        $H0->handle_error($t0); 
        wp_die(wp_kses($t0, \mo_oauth_get_valid_html())); 
        exit; 
        Bt: 
    } 
    public function skip_email_exist($Ak) 
    { 
        define("WP_IMPORTING", "SKIP_EMAIL_EXIST"); 
        return $Ak; 
    } 
} 
 ?>

Did this file decode correctly?

Original Code

<?php


namespace MoOauthClient\Standard;

use MoOauthClient\LoginHandler as FreeLoginHandler;
use MoOauthClient\Config;
use MoOauthClient\StorageManager;
use MoOauthClient\MO_Oauth_Debug;
class LoginHandler extends FreeLoginHandler
{
    public $config;
    public function handle_group_test_conf($Kx = array(), $FX = array(), $Ah = '', $i1 = false, $MU = false)
    {
        global $H0;
        MO_Oauth_Debug::mo_oauth_log("\x47\162\x6f\165\x70\40\165\163\145\162\x20\145\x6e\x64\x70\157\151\x6e\x74\40\x63\x6f\156\x66\151\x67\x75\162\x65\144\56");
        $this->render_test_config_output($Kx, false);
        if (!(!isset($FX["\x67\162\x6f\165\160\144\x65\x74\141\151\154\x73\x75\162\154"]) || '' === $FX["\147\162\157\165\x70\144\x65\x74\x61\151\154\x73\165\162\154"])) {
            goto vs;
        }
        return;
        vs:
        $IQ = [];
        $pL = $FX["\x67\162\157\165\x70\x64\x65\164\x61\x69\x6c\x73\x75\162\154"];
        if (!(strpos($pL, "\x61\160\x69\56\x63\x6c\x65\166\145\162\56\143\157\155") != false && isset($Kx["\144\x61\164\141"]["\151\x64"]))) {
            goto Dw;
        }
        $pL = str_replace("\x75\163\x65\162\x69\x64", $Kx["\144\x61\x74\141"]["\x69\144"], $pL);
        Dw:
        MO_Oauth_Debug::mo_oauth_log("\107\x72\x6f\165\x70\x20\x44\x65\164\x61\151\154\163\40\x55\x52\x4c\72\40" . $pL);
        if (!('' === $Ah)) {
            goto LM;
        }
        if (has_filter("\x6d\157\137\x6f\x61\x75\x74\x68\x5f\143\x66\x61\x5f\x67\162\157\x75\x70\137\144\145\164\141\x69\154\x73")) {
            goto Qv;
        }
        MO_Oauth_Debug::mo_oauth_log("\x41\x63\x63\x65\x73\x73\x20\x54\x6f\x6b\x65\x6e\x20\x45\x6d\x70\x74\x79");
        return;
        Qv:
        LM:
        if (!('' !== $pL)) {
            goto uW;
        }
        if (has_filter("\x6d\157\x5f\157\141\x75\x74\150\x5f\143\x66\141\x5f\147\162\x6f\165\160\x5f\144\145\x74\x61\151\x6c\x73")) {
            goto rB;
        }
        if (has_filter("\x6d\x6f\137\157\x61\165\164\150\137\147\162\x6f\x75\x70\x5f\144\x65\164\141\x69\x6c\163")) {
            goto T4;
        }
        if (has_filter("\155\157\137\157\141\x75\164\150\x5f\x72\141\166\145\156\x5f\x67\162\157\x75\x70\x5f\144\145\164\141\x69\x6c\163")) {
            goto dR;
        }
        if (has_filter("\155\x6f\x5f\x6f\x61\165\164\150\x5f\x6e\x6f\x76\x69\141\x6d\163\137\147\x72\x6f\165\160\137\144\145\x74\x61\x69\154\163")) {
            goto LC;
        }
        $IQ = $this->oauth_handler->get_resource_owner($pL, $Ah);
        goto Uw;
        LC:
        $IQ = apply_filters("\155\x6f\137\157\141\165\x74\x68\137\156\157\x76\x69\x61\x6d\163\x5f\147\x72\x6f\x75\x70\137\144\x65\164\141\151\154\163", $Kx, $pL);
        Uw:
        goto dV;
        dR:
        $IQ = apply_filters("\155\157\137\157\141\x75\x74\150\x5f\162\141\x76\x65\156\137\x67\162\157\x75\160\137\x64\x65\x74\141\151\154\163", $Kx["\145\155\141\151\x6c"], $pL, $Ah, $FX, $i1);
        dV:
        goto W_;
        T4:
        $IQ = apply_filters("\155\x6f\x5f\157\x61\x75\x74\150\137\x67\x72\x6f\x75\x70\137\144\x65\x74\x61\x69\x6c\163", $pL, $Ah, $FX, $i1);
        W_:
        goto BC;
        rB:
        MO_Oauth_Debug::mo_oauth_log("\106\x65\164\x63\150\x69\x6e\x67\40\x43\x46\101\x20\107\162\157\x75\160\56\56");
        $IQ = apply_filters("\x6d\157\137\x6f\141\165\x74\x68\x5f\143\x66\x61\137\x67\x72\x6f\165\160\x5f\x64\x65\x74\141\x69\x6c\163", $Kx, $pL, $Ah, $FX, $i1);
        BC:
        MO_Oauth_Debug::mo_oauth_log("\x47\162\157\165\x70\x20\x44\145\x74\141\x69\x6c\x73\40\x3d\76\x20");
        MO_Oauth_Debug::mo_oauth_log($IQ);
        $ff = $H0->mo_oauth_client_get_option("\x6d\x6f\137\x6f\141\x75\x74\150\137\x61\164\x74\162\x5f\156\x61\155\x65\137\154\151\x73\x74" . $FX["\141\160\160\x49\x64"]);
        $ty = [];
        $U1 = $this->dropdownattrmapping('', $IQ, $ty);
        $ff = (array) $ff + $U1;
        $H0->mo_oauth_client_update_option("\155\157\x5f\x6f\141\165\x74\150\137\141\x74\164\162\x5f\156\x61\x6d\x65\137\154\x69\163\x74" . $FX["\141\160\x70\111\x64"], $ff);
        if (!($MU && '' !== $MU)) {
            goto xV;
        }
        if (!(is_array($IQ) && !empty($IQ))) {
            goto oM;
        }
        $this->render_test_config_output($IQ, true);
        oM:
        return;
        xV:
        uW:
    }
    public function handle_group_user_info($Kx, $FX, $Ah)
    {
        MO_Oauth_Debug::mo_oauth_log("\x47\x72\157\165\160\x20\x75\163\145\x72\x20\x65\x6e\144\x70\x6f\x69\156\164\x20\x63\157\156\146\x69\147\165\x72\145\x64\x2e");
        if (!(!isset($FX["\x67\x72\x6f\x75\x70\144\145\x74\141\x69\x6c\x73\165\162\154"]) || '' === $FX["\147\162\x6f\x75\x70\144\145\x74\x61\x69\154\163\165\162\154"])) {
            goto x7;
        }
        return $Kx;
        x7:
        $pL = $FX["\x67\162\157\165\160\144\145\164\141\151\154\x73\x75\162\x6c"];
        if (!(strpos($pL, "\x61\160\151\x2e\143\154\x65\166\x65\162\x2e\x63\157\155") != false && isset($Kx["\x64\141\164\141"]["\151\144"]))) {
            goto AH;
        }
        $pL = str_replace("\165\163\x65\162\x69\144", $Kx["\144\141\x74\141"]["\x69\144"], $pL);
        AH:
        if (!('' === $Ah)) {
            goto Wu;
        }
        return $Kx;
        Wu:
        $IQ = array();
        if (!('' !== $pL)) {
            goto Wm;
        }
        if (has_filter("\155\157\x5f\157\141\x75\164\150\x5f\x63\146\x61\x5f\147\x72\157\165\x70\137\x64\145\164\x61\x69\x6c\163")) {
            goto WU;
        }
        if (has_filter("\x6d\157\137\x6f\x61\x75\x74\x68\137\147\x72\157\x75\160\137\x64\145\x74\x61\x69\x6c\x73")) {
            goto Nu;
        }
        if (has_filter("\155\157\137\x6f\141\165\164\x68\x5f\162\x61\166\x65\156\137\147\162\157\x75\x70\137\x64\x65\164\x61\151\154\163")) {
            goto sH;
        }
        if (has_filter("\155\x6f\x5f\x6f\141\165\164\x68\x5f\x6e\157\x76\x69\x61\155\x73\137\147\x72\157\x75\x70\137\144\145\x74\x61\151\154\x73")) {
            goto my;
        }
        $IQ = $this->oauth_handler->get_resource_owner($pL, $Ah);
        goto j2;
        my:
        $IQ = apply_filters("\155\x6f\x5f\157\141\x75\x74\x68\137\156\x6f\x76\151\x61\x6d\163\x5f\x67\162\x6f\x75\160\137\144\145\164\141\151\x6c\x73", $Kx, $pL);
        j2:
        goto u2;
        sH:
        $IQ = apply_filters("\155\157\137\157\141\x75\164\x68\x5f\162\141\x76\x65\156\137\x67\x72\157\165\160\137\x64\145\164\x61\151\154\x73", $Kx["\145\155\x61\151\154"], $pL, $Ah, $FX, $i1);
        u2:
        goto Vp;
        Nu:
        $IQ = apply_filters("\155\x6f\137\x6f\141\x75\x74\x68\x5f\147\x72\x6f\x75\160\x5f\x64\145\x74\141\x69\x6c\163", $pL, $Ah, $FX);
        Vp:
        goto iG;
        WU:
        MO_Oauth_Debug::mo_oauth_log("\106\145\x74\x63\x68\x69\x6e\x67\40\103\106\x41\x20\107\x72\x6f\165\160\x2e\x2e");
        $IQ = apply_filters("\155\157\137\x6f\x61\165\x74\150\137\143\x66\x61\137\x67\x72\157\x75\160\x5f\144\x65\x74\141\x69\x6c\x73", $Kx, $pL, $Ah, $FX, $i1);
        iG:
        Wm:
        MO_Oauth_Debug::mo_oauth_log("\107\162\x6f\x75\x70\x20\104\145\164\x61\x69\x6c\x73\x20\x3d\76\40");
        MO_Oauth_Debug::mo_oauth_log($IQ);
        if (!(is_array($IQ) && count($IQ) > 0)) {
            goto rf;
        }
        $Kx = array_merge($Kx, $IQ);
        rf:
        MO_Oauth_Debug::mo_oauth_log("\122\x65\163\x6f\165\x72\143\x65\40\x4f\167\156\x65\x72\40\101\x66\x74\145\x72\40\155\145\x72\x67\x69\x6e\x67\x20\167\151\x74\150\40\107\x72\157\165\x70\x20\144\145\x74\151\x61\154\x73\x20\x3d\76\x20");
        MO_Oauth_Debug::mo_oauth_log($Kx);
        return $Kx;
    }
    public function mo_oauth_client_map_default_role($o_, $FX)
    {
        MO_Oauth_Debug::mo_oauth_log("\x4f\156\154\x79\40\144\145\146\141\165\154\164\40\162\x6f\x6c\x65\40\x6d\141\160\x70\x65\x64");
        $jK = new \WP_User($o_);
        if (!(isset($FX["\145\x6e\141\142\x6c\x65\137\x72\x6f\x6c\x65\x5f\x6d\141\160\x70\151\x6e\x67"]) && !boolval($FX["\x65\x6e\141\x62\154\x65\x5f\x72\157\154\145\x5f\x6d\141\160\160\151\x6e\147"]))) {
            goto Fm;
        }
        $jK->set_role('');
        return;
        Fm:
        if (!(isset($FX["\137\155\141\x70\160\151\x6e\147\137\166\141\154\165\x65\x5f\x64\145\x66\x61\x75\x6c\164"]) && '' !== $FX["\x5f\155\141\160\160\x69\x6e\147\137\x76\141\154\x75\145\x5f\144\x65\x66\x61\165\154\x74"])) {
            goto AF;
        }
        $CT = explode("\54", $FX["\x5f\155\x61\160\x70\151\x6e\x67\x5f\166\141\x6c\x75\x65\x5f\x64\x65\x66\141\165\154\x74"]);
        $mQ = 0;
        foreach ($CT as $nK) {
            if (!(0 === $mQ)) {
                goto jC;
            }
            $jK->set_role('');
            jC:
            $nK = trim($nK);
            $jK->add_role($nK);
            $mQ++;
            Tq:
        }
        yT:
        AF:
    }
    public function handle_sso($Hr, $FX, $Kx, $Wh, $k0, $aV = false)
    {
        global $H0;
        $aQ = new StorageManager($Wh);
        do_action("\x6d\x6f\x5f\x6f\141\x75\164\150\x5f\154\151\156\x6b\137\x64\x69\163\143\157\x72\x64\x5f\141\143\x63\157\165\x6e\x74", $aQ, $Kx);
        $EN = isset($FX["\165\x73\x65\x72\156\x61\155\x65\137\141\164\x74\162"]) ? $FX["\x75\163\145\162\x6e\x61\155\x65\x5f\x61\x74\x74\162"] : '';
        $wu = isset($FX["\x65\x6d\x61\151\154\137\x61\x74\164\162"]) ? $FX["\145\155\141\x69\154\x5f\141\x74\x74\162"] : '';
        $nZ = isset($FX["\x66\x69\x72\163\164\x6e\141\x6d\145\137\141\164\x74\x72"]) ? $FX["\x66\x69\x72\163\x74\156\x61\x6d\x65\x5f\141\164\164\162"] : '';
        $pJ = isset($FX["\x6c\x61\x73\x74\156\141\x6d\x65\137\x61\164\x74\162"]) ? $FX["\x6c\141\163\164\x6e\x61\155\x65\137\141\x74\x74\x72"] : '';
        $DN = isset($FX["\144\x69\x73\x70\154\141\x79\137\x61\164\164\162"]) ? $FX["\x64\151\x73\160\x6c\x61\171\137\x61\164\164\162"] : '';
        $Eb = $H0->getnestedattribute($Kx, $EN);
        $U2 = $H0->getnestedattribute($Kx, $wu);
        $ZA = $H0->getnestedattribute($Kx, $nZ);
        $r3 = $H0->getnestedattribute($Kx, $pJ);
        $GD = $Eb;
        $this->config = $H0->mo_oauth_client_get_option("\x6d\x6f\137\x6f\x61\x75\164\x68\x5f\143\154\151\x65\156\x74\x5f\x63\157\x6e\x66\x69\147");
        $this->config = !$this->config || empty($this->config) ? array() : $this->config->get_current_config();
        $xi = isset($this->config["\141\x63\x74\151\166\141\164\145\x5f\x75\x73\145\x72\x5f\x61\x6e\x61\154\171\164\x69\143\163"]) ? $this->config["\x61\x63\x74\151\166\141\164\x65\x5f\x75\163\x65\x72\137\x61\x6e\x61\x6c\x79\x74\x69\143\163"] : 0;
        $current_user = wp_get_current_user();
        if (!($current_user->ID !== 0)) {
            goto xv;
        }
        do_action("\155\157\x5f\157\x61\x75\x74\150\x5f\x64\x69\x73\x63\157\x72\144\137\x66\x6c\157\x77\137\150\141\x6e\144\x6c\145", $current_user, $k0, $Kx);
        do_action("\x6d\x6f\137\157\x61\165\x74\x68\x5f\x6c\x6f\147\147\x65\x64\137\151\156\137\165\x73\145\x72\x5f\164\141\147\137\x75\160\144\141\x74\145", $current_user, $k0, $Kx);
        $Cl = get_option("\x6d\x6f\x5f\x64\x72\155\137\163\171\156\x63\137\x72\x65\144\151\x72\145\x63\x74");
        if (!(isset($Cl) && $Cl)) {
            goto zE;
        }
        wp_redirect($Cl);
        exit;
        zE:
        xv:
        if (empty($DN)) {
            goto Rp;
        }
        switch ($DN) {
            case "\x46\x4e\x41\x4d\x45":
                $GD = $ZA;
                goto rW;
            case "\x4c\x4e\x41\x4d\x45":
                $GD = $r3;
                goto rW;
            case "\x55\123\x45\x52\116\101\x4d\x45":
                $GD = $Eb;
                goto rW;
            case "\x46\116\101\115\x45\x5f\114\x4e\101\115\x45":
                $GD = $ZA . "\x20" . $r3;
                goto rW;
            case "\114\116\x41\115\x45\x5f\106\x4e\101\115\105":
                $GD = $r3 . "\x20" . $ZA;
            default:
                goto rW;
        }
        GJ:
        rW:
        Rp:
        if (!empty($Eb)) {
            goto RW;
        }
        MO_Oauth_Debug::mo_oauth_log("\x55\163\145\x72\x6e\141\155\145\40\x3a\40" . $Eb);
        $this->check_status(array("\155\x73\x67" => "\x55\x73\x65\x72\x6e\x61\155\x65\x20\x6e\157\164\x20\x72\145\x63\x65\151\166\145\144\56\x20\103\150\x65\x63\x6b\x20\x79\157\x75\162\40\x3c\163\164\x72\157\156\x67\76\x41\x74\164\162\151\x62\x75\164\145\40\x4d\141\x70\160\151\156\x67\74\x2f\x73\x74\x72\x6f\x6e\147\76\x20\x63\x6f\156\146\151\147\x75\x72\x61\x74\151\157\156\56", "\143\157\x64\x65" => "\x55\116\x41\x4d\105", "\x73\164\x61\164\165\x73" => false, "\141\x70\160\x6c\x69\x63\141\164\x69\x6f\x6e" => $Hr, "\145\x6d\x61\151\154" => '', "\165\163\145\162\156\141\x6d\145" => ''), $xi);
        RW:
        if (!(!empty($U2) && false === strpos($U2, "\100"))) {
            goto TO;
        }
        $this->check_status(array("\x6d\163\x67" => "\115\141\x70\160\145\144\x20\105\x6d\x61\x69\154\x20\141\x74\164\x72\x69\x62\x75\x74\145\x20\144\x6f\x65\x73\40\x6e\157\164\40\143\157\156\x74\x61\151\x6e\40\166\x61\x6c\x69\144\x20\145\155\x61\151\154\x2e", "\x63\157\144\145" => "\x45\115\101\111\114", "\x73\x74\x61\164\x75\x73" => false, "\x61\x70\160\x6c\x69\143\x61\x74\x69\x6f\156" => $Hr, "\x63\x6c\151\x65\156\164\137\151\x70" => $H0->get_client_ip(), "\x65\x6d\x61\x69\154" => $U2, "\x75\163\145\162\156\x61\x6d\145" => $Eb), $xi);
        TO:
        if (!is_multisite()) {
            goto D0;
        }
        $blog_id = $aQ->get_value("\x62\154\x6f\x67\137\151\x64");
        switch_to_blog($blog_id);
        do_action("\155\157\137\157\141\165\x74\150\x5f\x63\x6c\151\145\156\164\x5f\x63\x6f\156\143\x6f\x72\x64\137\162\x65\163\164\162\x69\x63\x74\137\x6c\157\x67\151\x6e", $FX, $Kx, $blog_id);
        D0:
        if (!has_action("\155\x6f\x5f\x6f\141\x75\x74\x68\137\143\x6c\x69\x65\156\x74\137\163\141\166\x65\x5f\165\163\145\x72\x5f\151\x6e\137\x73\x65\163\x73\151\157\x6e")) {
            goto v3;
        }
        do_action("\155\x6f\137\157\x61\165\164\150\137\143\154\x69\145\156\164\x5f\x73\x61\166\145\137\165\163\145\x72\137\151\156\x5f\x73\x65\163\163\151\x6f\x6e", array("\141\x70\160\137\143\157\156\x66\x69\x67" => $FX, "\163\x74\x6f\162\141\x67\x65\x5f\155\141\x6e\141\x67\x65\162" => $aQ, "\162\x65\x73\157\x75\162\143\x65\x5f\157\x77\x6e\145\162" => $Kx, "\165\x73\x65\162\156\141\155\145" => $Eb));
        v3:
        do_action("\x6d\157\x5f\157\141\165\164\x68\x5f\162\x65\163\164\x72\x69\x63\164\x5f\x65\155\141\x69\154\163", $U2, $this->config);
        if (!has_filter("\155\157\137\x6f\141\x75\164\150\x5f\155\157\144\151\146\171\137\165\x73\x65\162\156\141\x6d\x65\x5f\x61\164\164\x72")) {
            goto pu;
        }
        $Eb = apply_filters("\x6d\x6f\x5f\x6f\141\x75\x74\150\x5f\x6d\x6f\x64\151\x66\x79\137\165\163\x65\x72\x6e\x61\x6d\145\137\141\x74\164\x72", $Kx);
        pu:
        if (!has_filter("\155\x6f\x5f\x6f\x61\x75\164\x68\137\x63\150\x65\x63\x6b\137\x75\163\x65\162\x5f\x61\x75\x74\x68\x6f\162\x69\163\145\144")) {
            goto rM;
        }
        $Eb = apply_filters("\x6d\x6f\137\x6f\141\165\x74\x68\x5f\143\x68\145\x63\x6b\x5f\165\x73\x65\x72\137\141\x75\x74\x68\157\x72\x69\163\x65\144", $Kx, $Eb);
        rM:
        $user = get_user_by("\154\157\x67\151\156", $Eb);
        $fB = isset($FX["\141\x6c\x6c\x6f\167\137\x64\x75\160\154\151\x63\141\164\145\137\x65\x6d\x61\x69\x6c\163"]) ? true : false;
        if ($user) {
            goto F0;
        }
        if (!(!$fB || $fB && !$FX["\141\154\x6c\x6f\167\x5f\x64\165\x70\x6c\151\143\x61\x74\x65\x5f\145\155\141\151\x6c\x73"])) {
            goto VH;
        }
        $user = get_user_by("\145\x6d\x61\151\154", $U2);
        VH:
        F0:
        $o_ = $user ? $user->ID : 0;
        $Sx = 0 === $o_;
        if (!has_filter("\x6d\x6f\x5f\157\x61\x75\x74\x68\137\147\145\164\137\x75\163\145\162\137\x62\x79\x5f\x65\x6d\x61\x69\x6c")) {
            goto n_;
        }
        $user = apply_filters("\x6d\157\137\x6f\141\165\164\x68\x5f\x67\145\x74\x5f\x75\x73\145\162\137\x62\171\x5f\x65\155\141\x69\x6c", $Eb, $U2);
        n_:
        if (!has_filter("\155\x6f\137\x6f\141\165\x74\150\137\143\x68\x65\x63\x6b\x5f\x75\x73\145\x72\137\x62\171\x5f\x65\x6d\x61\x69\x6c")) {
            goto k8;
        }
        $Sx = apply_filters("\155\157\137\157\x61\165\164\x68\x5f\143\150\x65\143\153\x5f\165\x73\145\162\x5f\x62\x79\x5f\x65\x6d\x61\x69\154", $Eb, $U2);
        k8:
        $o_ = $user ? $user->ID : 0;
        if (!(isset($FX["\x61\165\x74\157\x63\162\145\141\164\145\165\163\x65\162\x73"]) && 1 !== intval($FX["\x61\x75\164\157\x63\x72\145\141\164\x65\x75\x73\x65\x72\163"]))) {
            goto I9;
        }
        $blog_id = 1;
        $Um = apply_filters("\x6d\x6f\137\x6f\141\x75\x74\x68\137\143\x6c\151\x65\156\x74\x5f\144\151\x73\141\142\x6c\145\x5f\x61\x75\164\157\x5f\143\x72\145\141\x74\x65\x5f\165\x73\145\162\x73\x5f\x66\x6f\x72\137\163\160\x65\143\151\x66\x69\143\x5f\151\144\160", $o_, $blog_id, $this->config, $FX);
        $this->config = $Um[0];
        $FX = $Um[1];
        I9:
        if (!(!(isset($this->config["\141\x75\164\x6f\137\x72\x65\147\151\x73\x74\145\162"]) && 1 === intval($this->config["\x61\x75\x74\157\x5f\162\145\x67\x69\163\164\145\162"])) && $Sx)) {
            goto IE;
        }
        MO_Oauth_Debug::mo_oauth_log("\122\145\147\151\163\164\x72\x61\x74\x69\x6f\156\x20\x69\163\40\144\151\163\x61\142\x6c\x65\144\40\146\157\162\x20\x74\x68\151\163\x20\163\x69\164\145\x2e\40\x50\154\145\141\163\x65\40\x63\x68\x65\143\x6b\40\x41\x75\164\157\x20\162\x65\147\151\163\164\145\x72\40\x75\x73\x65\162\x20\x73\x65\x74\x74\151\156\147\x73\x2e\x20");
        $this->check_status(array("\x6d\x73\147" => "\x52\145\x67\x69\163\164\162\x61\164\151\157\x6e\x20\x69\163\40\x64\151\163\141\142\x6c\x65\144\40\146\x6f\162\x20\164\150\x69\163\x20\163\x69\164\x65\56\40\120\x6c\x65\x61\163\145\40\143\x6f\156\x74\x61\x63\164\x20\x79\x6f\165\x72\x20\x61\x64\155\151\156\x69\163\164\x72\x61\x74\157\x72", "\143\x6f\144\145" => "\x52\x45\107\x49\123\x54\122\101\124\111\x4f\116\x5f\104\x49\123\x41\x42\x4c\105\104", "\x73\x74\x61\164\165\163" => false, "\141\160\160\154\151\x63\141\x74\151\157\x6e" => $Hr, "\x63\x6c\x69\145\156\164\137\x69\160" => $H0->get_client_ip(), "\145\x6d\141\151\x6c" => $U2, "\x75\x73\x65\162\156\141\x6d\x65" => $Eb), $xi);
        IE:
        if (!$Sx) {
            goto Ry;
        }
        $E5 = 10;
        $Hw = false;
        $eM = false;
        $mA = apply_filters("\155\157\x5f\157\x61\165\x74\x68\x5f\160\x61\163\x73\167\157\x72\144\x5f\160\x6f\154\x69\143\x79\x5f\155\x61\156\141\x67\145\162", $E5);
        if (!is_array($mA)) {
            goto kb;
        }
        $E5 = intval($mA["\160\141\x73\163\x77\157\x72\x64\x5f\x6c\x65\156\147\x74\150"]);
        $Hw = $mA["\x73\x70\145\143\x69\x61\x6c\137\143\x68\x61\x72\x61\x63\164\x65\x72\163"];
        $eM = $mA["\145\x78\164\x72\141\x5f\x73\x70\x65\x63\x69\141\154\x5f\143\x68\141\x72\141\x63\164\145\162\x73"];
        kb:
        $Og = wp_generate_password($E5, $Hw, $eM);
        $Sh = get_user_by("\x65\155\x61\x69\154", $U2);
        if (!$Sh) {
            goto BY;
        }
        add_filter("\160\x72\x65\x5f\x75\x73\145\162\x5f\x65\x6d\141\151\154", array($this, "\x73\x6b\x69\160\137\145\155\x61\x69\x6c\x5f\x65\170\151\163\x74"), 30);
        BY:
        $Eb = apply_filters("\155\157\137\157\141\165\164\x68\x5f\147\x65\164\137\x75\163\x65\162\x6e\141\155\x65\x5f\x77\x69\x74\150\137\160\157\163\x74\x66\151\x78\137\x61\144\144\145\x64", $Eb, $U2);
        $o_ = wp_create_user($Eb, $Og, $U2);
        if (!is_wp_error($o_)) {
            goto Mw;
        }
        MO_Oauth_Debug::mo_oauth_log("\105\162\x72\157\162\x20\x63\x72\145\x61\164\x69\156\147\40\127\x50\40\165\163\145\x72");
        wp_die("\74\142\x3e\x45\162\x72\157\x72\x3a\74\x2f\142\76\x20\125\x73\145\162\x6e\141\155\x65\x20\x63\157\x6e\x74\x61\x69\x6e\x73\40\163\x70\145\143\x69\141\x6c\x20\x63\150\141\162\141\x63\x74\x65\x72\x73\56\x20\x50\x6c\145\x61\163\145\40\143\x6f\x6e\x74\x61\143\x74\x20\x79\157\x75\162\40\141\x64\155\151\x6e\151\x73\164\x72\141\x74\x6f\x72\56");
        goto Rn;
        Mw:
        MO_Oauth_Debug::mo_oauth_log("\116\x65\167\x20\x75\x73\145\x72\40\x63\x72\x65\141\164\x65\144\40\75\76");
        MO_Oauth_Debug::mo_oauth_log("\125\x73\x65\162\x20\x49\x44\40\x3d\x3e\x20" . $o_);
        Rn:
        $eB = array("\x49\104" => $o_, "\165\163\x65\162\137\145\155\141\x69\x6c" => $U2, "\165\163\x65\x72\137\x6c\x6f\147\151\x6e" => $Eb, "\165\163\145\162\x5f\x6e\151\143\x65\x6e\x61\x6d\145" => $Eb);
        do_action("\x75\x73\x65\162\x5f\x72\145\147\x69\163\x74\x65\x72", $o_, $eB);
        Ry:
        if (!($Sx || (!isset($this->config["\x6b\x65\145\x70\137\145\x78\x69\x73\x74\151\x6e\147\137\165\x73\145\162\163"]) || 1 !== intval($this->config["\x6b\x65\x65\160\137\145\170\x69\163\164\151\156\147\137\x75\x73\x65\x72\163"])))) {
            goto lV;
        }
        if (!is_wp_error($o_)) {
            goto LS;
        }
        if (!get_user_by("\154\157\x67\151\156", $Eb)) {
            goto je;
        }
        $o_ = get_user_by("\154\x6f\147\151\x6e", $Eb)->ID;
        je:
        LS:
        $Iv = array("\111\104" => $o_, "\146\x69\x72\x73\164\x5f\156\141\x6d\145" => $ZA, "\154\x61\163\164\137\x6e\141\x6d\145" => $r3, "\x64\151\x73\x70\x6c\141\171\137\156\x61\155\x65" => $GD, "\165\163\145\x72\x5f\154\x6f\x67\x69\156" => $Eb, "\165\163\x65\x72\x5f\x6e\x69\x63\145\x6e\x61\155\x65" => $Eb);
        if (isset($this->config["\x6b\145\145\x70\137\145\x78\x69\x73\164\x69\x6e\x67\137\x65\x6d\141\151\154\x5f\141\x74\x74\162"]) && 1 === intval($this->config["\153\145\x65\x70\x5f\145\170\151\x73\x74\151\156\x67\137\x65\x6d\x61\x69\x6c\137\x61\164\x74\x72"])) {
            goto iB;
        }
        $Iv["\x75\163\145\162\137\x65\155\141\x69\x6c"] = $U2;
        wp_update_user($Iv);
        MO_Oauth_Debug::mo_oauth_log("\101\x74\164\x72\x69\142\x75\x74\145\x20\x4d\x61\x70\160\151\x6e\147\40\x44\157\x6e\x65");
        goto lr;
        iB:
        wp_update_user($Iv);
        MO_Oauth_Debug::mo_oauth_log("\x41\x74\164\x72\x69\142\x75\x74\145\40\x4d\x61\x70\x70\x69\x6e\x67\x20\165\160\x64\x61\x74\145\x64\40\145\170\143\145\x70\164\x20\145\x6d\141\151\x6c\56");
        lr:
        if (!isset($Kx["\163\x75\x62"])) {
            goto MJ;
        }
        update_user_meta($o_, "\155\157\137\142\141\x63\x6b\143\x68\141\x6e\x6e\145\154\137\141\164\164\x72\137\x73\165\142", $Kx["\x73\165\x62"]);
        MJ:
        if (!isset($Kx["\163\x69\x64"])) {
            goto j8;
        }
        update_user_meta($o_, "\155\x6f\137\142\x61\143\x6b\x63\x68\x61\156\156\145\x6c\137\x61\164\164\x72\137\163\151\x64", $Kx["\x73\151\x64"]);
        j8:
        update_user_meta($o_, "\x6d\157\137\157\x61\x75\164\x68\x5f\x62\x75\144\x64\x79\x70\x72\145\x73\x73\137\x61\164\164\162\x69\x62\165\x74\145\163", $Kx);
        MO_Oauth_Debug::mo_oauth_log("\x42\x75\144\x64\171\x50\x72\145\163\x73\x20\141\x74\x74\162\151\x62\x75\164\x65\x73\40\x75\160\144\141\164\x65\x64\40\x73\x75\x63\x63\x65\163\x73\x66\165\154\x6c\171");
        lV:
        $user = get_user_by("\x49\x44", $o_);
        MO_Oauth_Debug::mo_oauth_log("\125\163\x65\162\x20\106\157\165\156\x64");
        MO_Oauth_Debug::mo_oauth_log("\x55\163\145\162\x20\x49\104\x20\x3d\x3e\40" . $o_);
        $Hp = $H0->is_multisite_plan();
        if (!is_multisite()) {
            goto U9;
        }
        MO_Oauth_Debug::mo_oauth_log("\115\165\x6c\x74\x69\x73\151\x74\145\40\120\x6c\141\x6e");
        $EG = $H0->mo_oauth_client_get_option("\155\x6f\x5f\x6f\x61\165\x74\x68\x5f\x63\x33\126\x69\143\62\x6c\60\x5a\x58\116\x7a\x5a\x57\x78\x6c\131\x33\x52\154\132\x41");
        $Gx = array();
        if (!isset($EG)) {
            goto wy;
        }
        $Gx = json_decode($H0->mooauthdecrypt($EG), true);
        wy:
        $M0 = false;
        if (!(is_array($Gx) && in_array($blog_id, $Gx))) {
            goto Iu;
        }
        $M0 = true;
        Iu:
        $fT = intval($H0->mo_oauth_client_get_option("\156\157\117\146\123\165\142\123\x69\164\145\163"));
        $In = get_sites(["\156\x75\x6d\x62\x65\x72" => 1000]);
        if (!(is_multisite() && $Hp && ($Hp && !$M0 && $fT < 1000))) {
            goto A0;
        }
        $oC = "\x59\x6f\165\x20\150\x61\x76\x65\40\156\x6f\x74\x20\x75\x70\147\162\x61\144\145\144\40\x74\157\40\x74\150\x65\x20\143\157\162\162\x65\143\164\40\154\x69\143\x65\x6e\x73\x65\40\160\x6c\x61\x6e\x2e\40\105\151\x74\150\145\162\40\x79\157\165\40\150\141\166\145\x20\x70\x75\162\x63\150\141\163\x65\x64\40\x66\157\x72\x20\x69\x6e\x63\x6f\162\x72\145\143\164\x20\156\x6f\x2e\40\157\x66\40\163\x69\x74\x65\163\40\x6f\x72\40\171\157\165\x20\x68\x61\166\145\40\143\x72\145\x61\x74\x65\144\40\x61\40\x6e\145\167\40\x73\165\x62\x73\x69\x74\145\56\40\x43\157\156\x74\141\x63\x74\40\164\157\x20\171\x6f\165\162\x20\141\144\x6d\x69\156\151\163\164\x72\141\x74\x6f\162\x20\x74\x6f\x20\x75\x70\x67\x72\141\x64\x65\x20\171\157\x75\x72\x20\x73\165\142\x73\151\x74\145\56";
        MO_Oauth_Debug::mo_oauth_log($oC);
        $H0->handle_error($oC);
        wp_die($oC);
        A0:
        U9:
        if ($user) {
            goto Xk;
        }
        return;
        Xk:
        $p0 = '';
        if (isset($this->config["\x61\146\164\145\x72\x5f\x6c\157\x67\151\x6e\x5f\x75\x72\154"]) && '' !== $this->config["\141\x66\x74\145\162\137\x6c\x6f\x67\x69\156\x5f\165\162\154"]) {
            goto J4;
        }
        $Qg = $aQ->get_value("\162\x65\x64\x69\x72\x65\x63\x74\137\x75\x72\x69");
        $vN = parse_url($Qg);
        MO_Oauth_Debug::mo_oauth_log("\x52\145\x64\151\x72\x65\143\x74\x20\125\x72\x6c\x20\143\x6f\155\160\157\156\145\x6e\164\x73\x20\x3d\x3e");
        MO_Oauth_Debug::mo_oauth_log($vN);
        if (!(isset($vN["\x70\141\x74\x68"]) && strpos($vN["\x70\141\x74\x68"], "\167\160\x2d\154\x6f\x67\x69\156\x2e\x70\150\x70") !== false)) {
            goto bx;
        }
        $Qg = site_url();
        bx:
        if (!isset($vN["\161\165\145\x72\171"])) {
            goto jv;
        }
        parse_str($vN["\161\165\145\162\x79"], $zS);
        if (!isset($zS["\162\x65\144\151\162\145\143\164\x5f\164\157"])) {
            goto B3;
        }
        $Qg = $zS["\162\145\144\x69\162\145\x63\x74\x5f\164\157"];
        B3:
        jv:
        $p0 = rawurldecode($Qg && '' !== $Qg ? $Qg : site_url());
        MO_Oauth_Debug::mo_oauth_log("\103\165\163\x74\x6f\x6d\x20\x55\122\x4c\40\x61\x66\164\x65\162\40\x6c\157\x67\x69\x6e\x20\x64\x65\x66\x61\x75\x6c\164\40\75\x3e" . $p0);
        $V6 = isset($this->config["\167\150\151\164\145\154\x69\163\164\x5f\162\145\144\151\162\145\x63\164\x5f\165\x72\x6c"]) ? $this->config["\167\150\151\x74\x65\x6c\151\x73\x74\137\162\145\144\151\x72\x65\143\164\x5f\x75\x72\154"] : '';
        $M0 = false;
        $SW = isset($this->config["\167\x68\x69\x74\x65\154\x69\163\164\137\162\x65\x64\x69\x72\145\x63\x74\x5f\x75\x72\154\x73"]) ? $this->config["\x77\150\x69\164\x65\x6c\x69\163\164\137\162\145\144\151\x72\x65\x63\164\137\165\162\x6c\x73"] : '';
        if (!(!empty($SW) && isset($SW) && isset($V6) && !empty($V6))) {
            goto qF;
        }
        $dq = explode("\73", $SW);
        MO_Oauth_Debug::mo_oauth_log("\127\x68\151\164\x65\154\x69\163\x74\40\122\x65\x64\x69\162\145\143\x74\40\x55\162\x6c\163\40\x3d\x3e");
        MO_Oauth_Debug::mo_oauth_log($dq);
        $p0 = strtolower($p0);
        $p0 = trim(trim($p0), "\57");
        MO_Oauth_Debug::mo_oauth_log("\x53\x53\x4f\x20\122\145\x64\151\162\x65\x63\164\x20\x55\x72\x6c\75\76");
        MO_Oauth_Debug::mo_oauth_log($p0);
        foreach ($dq as $cW) {
            $cW = strtolower($cW);
            if (!ctype_space(substr($cW, -1))) {
                goto rI;
            }
            $cW = substr_replace($cW, '', -1);
            rI:
            $cW = trim(trim($cW), "\57");
            if (!(substr($cW, -1) == "\52")) {
                goto y2;
            }
            $cW = substr_replace($cW, '', -1);
            $cW = trim($cW, "\x2f");
            if (!(strpos($p0, $cW) !== false)) {
                goto cM;
            }
            $M0 = true;
            goto Lk;
            cM:
            y2:
            if (!(strcmp($p0, $cW) == 0)) {
                goto ZC;
            }
            $M0 = true;
            goto Lk;
            ZC:
            nF:
        }
        Lk:
        if ($M0) {
            goto pK;
        }
        $p0 = home_url();
        pK:
        qF:
        if (!(strpos($p0, "\x6d\157\137\143\x68\141\156\x67\145\137\x74\157\137\x68\141\x73\150") !== false)) {
            goto ob;
        }
        $p0 = str_replace("\x6d\x6f\137\x63\150\141\156\147\x65\137\164\157\x5f\150\141\x73\x68", "\x23", $p0);
        ob:
        if (!has_filter("\x6d\x6f\137\x6f\141\x75\x74\150\x5f\x64\151\x73\137\165\x70\x64\141\164\145\x5f\141\143\x74\x75\x61\x6c\137\x6c\151\x6e\153")) {
            goto mN;
        }
        $p0 = apply_filters("\155\x6f\x5f\157\x61\165\x74\x68\x5f\144\x69\x73\x5f\x75\160\144\x61\164\145\x5f\141\x63\x74\165\141\154\137\154\151\156\153", $p0, $Eb);
        mN:
        goto KO;
        J4:
        $p0 = $this->config["\x61\x66\x74\145\162\x5f\x6c\x6f\x67\x69\156\137\165\162\x6c"];
        MO_Oauth_Debug::mo_oauth_log("\103\x75\163\164\x6f\155\40\125\x52\114\x20\141\146\164\145\162\x20\x6c\157\x67\x69\156\x20\x63\x6f\156\x66\151\x67\x75\x72\x65\144\x2e\x20\x3d\x3e" . $p0);
        KO:
        if (!($H0->get_versi() === 1)) {
            goto ZI;
        }
        if (isset($FX["\x65\x6e\141\142\154\x65\x5f\x72\157\154\x65\137\155\x61\160\160\x69\156\147"])) {
            goto ex;
        }
        $FX["\145\x6e\141\142\x6c\145\x5f\162\157\x6c\x65\137\x6d\x61\160\160\151\156\147"] = true;
        if (!(isset($FX["\x63\154\151\x65\156\164\x5f\143\x72\x65\x64\163\137\145\156\143\x72\x70\x79\164\x65\x64"]) && boolval($FX["\143\154\151\x65\x6e\164\137\x63\162\145\144\163\x5f\x65\156\143\x72\x70\x79\x74\x65\144"]))) {
            goto SS;
        }
        $FX["\143\154\151\145\x6e\164\137\151\144"] = $H0->mooauthencrypt($FX["\x63\x6c\x69\x65\156\164\137\x69\x64"]);
        $FX["\x63\154\151\x65\x6e\164\x5f\x73\145\x63\x72\145\164"] = $H0->mooauthencrypt($FX["\x63\x6c\x69\145\x6e\x74\x5f\x73\x65\143\162\x65\164"]);
        SS:
        $H0->set_app_by_name($F3["\x61\160\x70\137\156\x61\x6d\x65"], $FX);
        ex:
        if (!(!user_can($o_, "\x61\144\x6d\151\x6e\x69\163\164\162\141\x74\x6f\x72") && $Sx || !isset($FX["\153\x65\145\x70\x5f\145\170\x69\163\164\151\156\x67\137\x75\163\145\162\x5f\162\157\154\145\163"]) || 1 !== intval($FX["\153\x65\145\160\137\145\x78\x69\163\x74\151\156\x67\137\x75\163\x65\x72\x5f\162\x6f\154\145\163"]))) {
            goto ZE;
        }
        $this->mo_oauth_client_map_default_role($o_, $FX);
        MO_Oauth_Debug::mo_oauth_log("\x52\157\x6c\145\x20\115\141\x70\160\151\156\x67\40\x44\x6f\x6e\145");
        ZE:
        ZI:
        do_action("\x6d\157\137\157\141\x75\164\150\x5f\x63\x6c\151\145\x6e\x74\137\x6d\141\160\x5f\162\157\x6c\x65\163", array("\x75\163\x65\x72\x5f\151\x64" => $o_, "\x61\160\x70\x5f\x63\157\x6e\146\151\147" => $FX, "\x6e\x65\x77\137\165\163\x65\162" => $Sx, "\162\x65\163\157\x75\162\143\x65\137\x6f\x77\x6e\145\162" => $Kx, "\141\160\x70\x5f\156\x61\155\x65" => $Hr, "\143\157\x6e\x66\x69\147" => $this->config));
        MO_Oauth_Debug::mo_oauth_log("\x52\157\x6c\x65\40\x4d\141\160\160\x69\156\147\40\104\x6f\156\145");
        do_action("\x6d\157\x5f\157\x61\165\x74\150\x5f\154\157\x67\147\145\x64\x5f\x69\x6e\137\x75\x73\145\162\x5f\164\157\x6b\145\x6e", $user, $k0);
        do_action("\x6d\157\137\x6f\x61\165\164\x68\x5f\141\144\x64\137\144\x69\x73\137\165\x73\145\162\x5f\163\145\162\166\145\162", $o_, $k0, $Kx);
        $this->check_status(array("\155\x73\147" => "\114\x6f\x67\x69\156\40\123\x75\143\143\145\x73\163\146\165\154\x21", "\x63\157\144\145" => "\x4c\117\x47\111\116\137\123\125\103\x43\105\x53\123", "\x73\x74\x61\164\165\x73" => true, "\141\x70\x70\154\151\143\141\164\151\x6f\x6e" => $Hr, "\x63\154\151\x65\156\164\x5f\x69\x70" => $H0->get_client_ip(), "\156\141\x76\x69\147\x61\164\151\x6f\x6e\x75\x72\x6c" => $p0, "\x65\x6d\141\x69\154" => $U2, "\x75\163\145\162\x6e\141\155\x65" => $Eb), $xi);
        if (!$aV) {
            goto K2;
        }
        return $user;
        K2:
        do_action("\x6d\157\137\157\141\x75\164\150\137\x73\x65\x74\x5f\154\157\x67\151\156\137\143\157\x6f\153\151\145");
        do_action("\155\x6f\x5f\157\x61\x75\164\x68\x5f\147\x65\164\x5f\x75\x73\145\x72\137\x61\x74\x74\x72\x73", $user, $Kx);
        update_user_meta($user->ID, "\155\157\137\x6f\x61\165\x74\x68\137\x63\x6c\x69\145\x6e\x74\x5f\x6c\141\163\x74\137\151\144\137\x74\x6f\x6b\145\x6e", isset($k0["\x69\144\137\x74\x6f\153\x65\x6e"]) ? $k0["\151\x64\x5f\164\157\x6b\x65\156"] : $k0["\x61\143\x63\145\x73\163\137\164\157\x6b\145\x6e"]);
        wp_set_current_user($user->ID);
        $J2 = false;
        $J2 = apply_filters("\155\x6f\x5f\162\x65\x6d\x65\155\x62\145\x72\137\x6d\x65", $J2);
        wp_set_auth_cookie($user->ID, $J2);
        MO_Oauth_Debug::mo_oauth_log("\x57\x50\x20\x4f\x41\x75\164\x68\40\x63\157\157\153\x69\x65\40\x73\145\x74\x74\x65\144\x2e");
        if (!isset($Kx["\x72\157\154\145\163"])) {
            goto p1;
        }
        apply_filters("\155\x6f\137\x6f\141\165\x74\x68\x5f\x75\160\144\x61\x74\145\137\142\x62\x70\137\x72\157\154\x65", $user->ID, $Kx["\x72\157\154\x65\163"]);
        p1:
        if (!has_action("\x6d\x6f\137\150\x61\143\x6b\137\x6c\x6f\x67\x69\156\137\163\x65\163\163\151\x6f\x6e\137\x72\x65\x64\x69\162\x65\143\x74")) {
            goto OA;
        }
        $qp = $H0->gen_rand_str();
        $SF = $H0->gen_rand_str();
        $mA = array("\165\x73\x65\162\137\151\144" => $user->ID, "\x75\x73\x65\162\x5f\x70\x61\163\163\x77\x6f\x72\x64" => $SF);
        set_transient($qp, $mA);
        do_action("\x6d\x6f\137\x68\x61\143\x6b\137\154\x6f\147\151\156\x5f\x73\x65\163\x73\151\157\156\137\x72\x65\x64\151\x72\x65\143\x74", $user, $SF, $qp, $p0);
        OA:
        do_action("\x77\160\x5f\154\157\147\x69\x6e", $user->user_login, $user);
        MO_Oauth_Debug::mo_oauth_log("\125\163\145\162\40\x6c\x6f\x67\x67\145\144\40\151\156");
        setcookie("\155\157\x5f\x6f\x61\x75\x74\x68\x5f\x6c\157\147\x69\156\x5f\x61\x70\x70\137\163\145\163\x73\151\x6f\x6e", $Hr, time() + 120, "\x2f", null, true, true);
        do_action("\x6d\157\137\157\141\x75\164\150\x5f\x67\x65\164\137\164\x6f\x6b\x65\x6e\x5f\x66\x6f\162\x5f\150\x65\x61\144\x6c\145\163\163", $user, $k0, $p0);
        do_action("\x6d\157\137\x6f\x61\165\x74\150\137\x67\145\164\x5f\x63\x75\162\x72\145\x6e\x74\137\141\160\160\156\x61\x6d\145", $Hr);
        $Be = $aQ->get_value("\x72\x65\x73\164\162\x69\143\x74\162\x65\144\x69\162\x65\143\x74") !== false;
        $QX = $aQ->get_value("\160\157\x70\x75\x70") === "\151\x67\x6e\157\162\145";
        if (isset($this->config["\160\x6f\160\165\160\137\154\157\x67\x69\x6e"]) && 1 === intval($this->config["\x70\x6f\160\x75\x70\137\x6c\x6f\147\151\156"]) && !$QX && !boolval($Be)) {
            goto Wc;
        }
        do_action("\x6d\x6f\137\x6f\141\x75\x74\150\137\x72\145\x64\x69\x72\x65\143\164\137\x6f\141\165\164\x68\137\165\163\x65\x72\x73", $user, $p0);
        MO_Oauth_Debug::mo_oauth_log("\125\x73\x65\162\40\162\145\144\151\162\x65\143\164\x65\x64\x20\164\157\40\75\76" . $p0);
        wp_redirect($p0);
        goto Ke;
        Wc:
        MO_Oauth_Debug::mo_oauth_log("\117\x70\x65\x6e\145\x64\x20\154\x6f\147\x69\156\x20\x77\x69\156\144\x6f\167\40\x69\x6e\x20\160\x6f\160\165\x70\56");
        if (!has_filter("\x6d\157\137\x6f\141\x75\x74\x68\137\162\145\x64\151\x72\145\143\x74\137\157\x61\x75\164\x68\x5f\165\x73\145\x72\163")) {
            goto G3;
        }
        $p0 = apply_filters("\x6d\x6f\x5f\x6f\x61\165\x74\x68\x5f\x72\145\x64\x69\162\x65\143\164\x5f\157\x61\x75\164\150\137\x75\163\145\162\x73", $user, $p0);
        G3:
        MO_Oauth_Debug::mo_oauth_log("\125\163\x65\162\x20\x72\x65\x64\151\162\145\x63\164\x65\144\40\x74\x6f\x20\75\76" . $p0);
        echo "\74\x73\x63\162\x69\160\164\x3e\xa\x9\x9\11\x69\x66\40\50\167\151\156\144\157\167\56\x6f\x70\x65\156\x65\x72\x20\46\46\40\164\x79\160\145\x6f\146\x20\167\x69\156\x64\157\x77\56\x6f\x70\x65\156\x65\x72\x2e\x48\x61\x6e\x64\154\145\120\x6f\x70\165\x70\x52\145\163\165\154\164\40\x3d\75\75\x20\42\x66\x75\x6e\x63\164\x69\157\x6e\x22\x29\x20\x7b\xa\x9\11\x9\11\x77\x69\156\144\157\167\56\157\x70\145\x6e\145\162\x2e\x48\141\x6e\x64\x6c\145\120\x6f\160\x75\160\122\x65\163\x75\154\164\x28\x22" . $p0 . "\x22\x29\x3b\167\x69\156\x64\x6f\167\56\143\x6c\x6f\x73\x65\50\51\x3b\xa\11\11\x9\175\40\145\154\163\145\x20\x7b\xa\11\11\11\x9\167\x69\156\x64\157\x77\56\154\157\143\141\164\x69\x6f\156\56\x72\x65\x70\x6c\x61\143\145\50\42" . $p0 . "\x22\x29\x3b\12\11\11\11\x7d\xa\11\11\x9\x3c\x2f\x73\x63\162\x69\160\x74\76";
        Ke:
        exit;
    }
    public function check_status($F3, $xi)
    {
        global $H0;
        if (isset($F3["\163\164\141\164\x75\x73"])) {
            goto YM;
        }
        MO_Oauth_Debug::mo_oauth_log("\123\x6f\x6d\x65\164\150\x69\156\147\x20\167\x65\x6e\164\x20\167\x72\157\x6e\x67\x2e\x20\120\x6c\x65\x61\x73\x65\40\x74\162\x79\40\x4c\157\x67\147\151\x6e\x67\x20\151\156\40\141\147\x61\x69\156\56");
        $H0->handle_error("\x53\x6f\155\x65\164\150\x69\x6e\x67\40\167\x65\156\x74\x20\x77\x72\x6f\156\x67\56\40\120\x6c\145\x61\x73\x65\40\x74\x72\171\x20\114\x6f\147\147\x69\156\147\x20\151\156\x20\x61\x67\141\151\x6e\x2e");
        wp_die(wp_kses("\123\157\x6d\145\164\150\151\156\147\40\167\x65\x6e\x74\x20\x77\x72\x6f\156\x67\56\x20\120\154\x65\141\163\x65\x20\x74\162\x79\x20\114\157\x67\x67\151\156\x67\40\x69\x6e\40\141\147\x61\x69\156\x2e", \mo_oauth_get_valid_html()));
        YM:
        if (!(isset($F3["\163\164\x61\164\165\163"]) && true === $F3["\x73\164\141\x74\x75\163"] && (isset($F3["\x63\x6f\144\145"]) && "\x4c\x4f\107\x49\116\x5f\x53\125\x43\x43\105\123\x53" === $F3["\143\157\144\x65"]))) {
            goto Rx;
        }
        return true;
        Rx:
        if (!(true !== $F3["\163\164\x61\x74\165\163"])) {
            goto Bt;
        }
        $t0 = isset($F3["\155\x73\x67"]) && !empty($F3["\155\x73\147"]) ? $F3["\x6d\x73\x67"] : "\123\x6f\155\x65\x74\150\151\156\147\40\167\x65\x6e\x74\x20\167\x72\x6f\x6e\147\x2e\40\x50\154\145\141\163\x65\x20\x74\162\x79\40\x4c\157\x67\x67\x69\156\x67\x20\x69\156\x20\141\x67\x61\x69\x6e\x2e";
        MO_Oauth_Debug::mo_oauth_log($t0);
        $H0->handle_error($t0);
        wp_die(wp_kses($t0, \mo_oauth_get_valid_html()));
        exit;
        Bt:
    }
    public function skip_email_exist($Ak)
    {
        define("\127\x50\137\111\115\120\117\x52\x54\x49\x4e\107", "\x53\x4b\111\x50\137\x45\115\101\111\114\137\105\130\x49\x53\124");
        return $Ak;
    }
}

Function Calls

None

Variables

None

Stats

MD5 338a9f6152c042e1dcf970c30b2618d4
Eval Count 0
Decode Time 59 ms