public function get_userinfo($username) {
        $cached = $this->get_static_user_info();
        if (!empty($cached) && $cached['username'] == $username) {
            return $cached;
        }
        return false;
    }
public function get_userinfo($username) {
        $cached = $this->get_static_user_info();
        if (!empty($cached) && $cached['username'] == $username) {
            return $cached;
        }
        return false;
    }
public function get_userinfo ( $ username ) { $ cached = $ this -> get_static_user_info ( ) ; if ( ! empty ( $ cached ) && $ cached [ 'username' ] == $ username ) { return $ cached ; } return false ; }
Return the userinfo from the oauth handshake. Will only be valid
for the logged in user.
@param string $username
Return the userinfo from the oauth handshake . Will only be valid for the logged in user .