mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 14:41:29 +01:00
Add in not yet working auth_verify
This commit is contained in:
parent
c7edc28716
commit
dc7ad12eeb
@ -90,4 +90,26 @@
|
||||
$r = CreateObject('phpgwapi.soapmsg','system_authResponse',$rtrn);
|
||||
return $r;
|
||||
}
|
||||
|
||||
function _soap_auth_verify($m1,$m2,$m3)
|
||||
{
|
||||
$server_name = $m1;
|
||||
$sessionid = $m2;
|
||||
$kp3 = $m3;
|
||||
|
||||
$verified = $GLOBALS['phpgw']->session->verify_server($sessionid,$kp3);
|
||||
|
||||
if($verified)
|
||||
{
|
||||
$rtrn = array(
|
||||
CreateObject('phpgwapi.xmlrpcval','HELO','string',$sessionid)
|
||||
);
|
||||
}
|
||||
else
|
||||
{
|
||||
$rtrn = array(CreateObject('phpgwapi.soapval','GOAWAY','string','XOXO'));
|
||||
}
|
||||
$r = CreateObject('phpgwapi.soapmsg','system_auth_verifyResponse',$rtrn);
|
||||
return $r;
|
||||
}
|
||||
?>
|
||||
|
@ -118,4 +118,16 @@
|
||||
{
|
||||
return $timeInstant;
|
||||
}
|
||||
|
||||
$server->add_to_map(
|
||||
'system_auth',
|
||||
array('string','string','string'),
|
||||
array('array')
|
||||
);
|
||||
|
||||
$server->add_to_map(
|
||||
'system_auth_verify',
|
||||
array('string','string','string'),
|
||||
array('array')
|
||||
);
|
||||
?>
|
||||
|
Loading…
Reference in New Issue
Block a user