public function refreshMobileSession()
    {
        try {
            $response = $this->steamCommunity->cURL('https://api.steampowered.com/IMobileAuthService/GetWGToken/v0001', null, ['access_token' => $this->oauth['oauth_token']]);
            $json = json_decode($response, true);
            $this->oauth['wgtoken'] = $json['response']['token'];
            $this->oauth['wgtoken_secure'] = $json['response']['token_secure'];
        } catch (\Exception $ex) {

        }
    }
public function refreshMobileSession()
    {
        try {
            $response = $this->steamCommunity->cURL('https://api.steampowered.com/IMobileAuthService/GetWGToken/v0001', null, ['access_token' => $this->oauth['oauth_token']]);
            $json = json_decode($response, true);
            $this->oauth['wgtoken'] = $json['response']['token'];
            $this->oauth['wgtoken_secure'] = $json['response']['token_secure'];
        } catch (\Exception $ex) {

        }
    }
public function refreshMobileSession ( ) { try { $ response = $ this -> steamCommunity -> cURL ( 'https://api.steampowered.com/IMobileAuthService/GetWGToken/v0001' , null , [ 'access_token' => $ this -> oauth [ 'oauth_token' ] ] ) ; $ json = json_decode ( $ response , true ) ; $ this -> oauth [ 'wgtoken' ] = $ json [ 'response' ] [ 'token' ] ; $ this -> oauth [ 'wgtoken_secure' ] = $ json [ 'response' ] [ 'token_secure' ] ; } catch ( \ Exception $ ex ) { } }
Refreshes the mobile session by retrieving new tokens.
Refreshes the mobile session by retrieving new tokens .