Bitrix Site Manager

OnExternalAuthList

array
event_handler();

The OnExternalAuthList event handler is called to obtain a list of external authorization sources by the method CUser::GetExternalAuthList.

Parameters

No parameters.

Return Values

Array in the format Array(Array("ID"=>"Sorce ID 1", "NAME"=>"Source name 1"), ...) .

See Also

Example



<?
AddEventHandler("main", 
                "OnExternalAuthList", 
                Array("__IPBAuth", 
                      "OnExternalAuthList"));

class __IPBAuth
{
  function OnExternalAuthList()
  {
     return Array(
      Array("ID"=>"IPB",
            "NAME"=>"Invision Power Board")
      );
 }
}
?>