Invisnik\LaravelSteamAuth\SteamAuth::getParams PHP Method

getParams() public method

Get param list for openId validation
public getParams ( ) : array
return array
    public function getParams()
    {
        $params = ['openid.assoc_handle' => $this->request->get('openid_assoc_handle'), 'openid.signed' => $this->request->get('openid_signed'), 'openid.sig' => $this->request->get('openid_sig'), 'openid.ns' => 'http://specs.openid.net/auth/2.0', 'openid.mode' => 'check_authentication'];
        $signedParams = explode(',', $this->request->get('openid_signed'));
        foreach ($signedParams as $item) {
            $value = $this->request->get('openid_' . str_replace('.', '_', $item));
            $params['openid.' . $item] = get_magic_quotes_gpc() ? stripslashes($value) : $value;
        }
        return $params;
    }