Documentation

OnExternalAuthList

arrayhandler function();
The event OnExternalAuthList is called to get a list of external authorizations when calling the method CUser::GetExternalAuthList.

Parameters

No parameters.

Returned value

Array of type Array(Array("ID"=>"Source ID 1", "NAME"=>"Source name 1"), ...) .

See Also

  • Events
  • CUser::GetExternalAuthList
  • External Authorization

    Example of handler function:

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


    © «Bitrix24», 2001-2022
    Up