src/MinecraftJP.php
protected  function requestUserInfo() {
        $res = $this->sendRequest('GET', $this->getUrl('oauth', 'userinfo'), array(), array(
            'Authorization' => 'Bearer ' . $this->sessionStorage->read('access_token'),
        ));
        $result = $res->getBody();

        return json_decode($result, true);
    }
protected  function requestUserInfo() {
        $res = $this->sendRequest('GET', $this->getUrl('oauth', 'userinfo'), array(), array(
            'Authorization' => 'Bearer ' . $this->sessionStorage->read('access_token'),
        ));
        $result = $res->getBody();

        return json_decode($result, true);
    }
protected function requestUserInfo ( ) { $ res = $ this -> sendRequest ( 'GET' , $ this -> getUrl ( 'oauth' , 'userinfo' ) , array ( ) , array ( 'Authorization' => 'Bearer ' . $ this -> sessionStorage -> read ( 'access_token' ) , ) ) ; $ result = $ res -> getBody ( ) ; return json_decode ( $ result , true ) ; }
Request User Info

@return mixed
Request User Info