private static function getssotoken_raw($username, $shareid, $sharedsecret) {
        $time = time() . '000';
        return urlencode($username)
            . ':'
            . $shareid
            . ':'
            . $time
            . ':'
            . base64_encode(pack('H*', md5($username . $shareid . $time . $sharedsecret)));
    }
private static function getssotoken_raw($username, $shareid, $sharedsecret) {
        $time = time() . '000';
        return urlencode($username)
            . ':'
            . $shareid
            . ':'
            . $time
            . ':'
            . base64_encode(pack('H*', md5($username . $shareid . $time . $sharedsecret)));
    }
private static function getssotoken_raw ( $ username , $ shareid , $ sharedsecret ) { $ time = time ( ) . '000' ; return urlencode ( $ username ) . ':' . $ shareid . ':' . $ time . ':' . base64_encode ( pack ( 'H*' , md5 ( $ username . $ shareid . $ time . $ sharedsecret ) ) ) ; }
Generate equella token

@param string $username
@param string $shareid
@param string $sharedsecret
@return string
Generate equella token