Invisnik\LaravelSteamAuth\SteamAuth::parseSteamID PHP Method

parseSteamID() public method

Parse the steamID from the OpenID response
public parseSteamID ( ) : void
return void
    public function parseSteamID()
    {
        preg_match("#^http://steamcommunity.com/openid/id/([0-9]{17,25})#", $this->request->get('openid_claimed_id'), $matches);
        $this->steamId = is_numeric($matches[1]) ? $matches[1] : 0;
    }