Invisnik\LaravelSteamAuth\SteamAuth::parseSteamID PHP 메소드

parseSteamID() 공개 메소드

Parse the steamID from the OpenID response
public parseSteamID ( ) : void
리턴 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;
    }