Discuss this help topic in SecureBlackbox Forum

TElSAMLServiceProvider.OnResourceOpen

TElSAMLServiceProvider     See also     


Filter: C#  VB.NET  Pascal  C++  PHP  Java  


This event is fired when the SP opens a protected resource.

Declaration

[C#]
    event TSBSAMLResourceOpenEvent OnResourceOpen;
    delegate void TSBSAMLResourceOpenEvent(Object Sender, string URL, ref Object Handle);

[VB.NET]
    Event OnResourceOpen As TSBSAMLResourceOpenEvent
    Delegate Sub TSBSAMLResourceOpenEvent(ByVal Sender As Object, ByVal URL As String, ByRef Handle As Object)

[Pascal]
    property OnResourceOpen : TSBSAMLResourceOpenEvent;
    TSBSAMLResourceOpenEvent = procedure(Sender : TObject; const URL : string; var Handle : Pointer) of object;

[C++]
    void get_OnResourceOpen(TSBSAMLResourceOpenEvent &pMethodOutResult, void * &pDataOutResult);
    void set_OnResourceOpen(TSBSAMLResourceOpenEvent pMethodValue, void * pDataValue);
    typedef void (SB_CALLBACK *TSBSAMLResourceOpenEvent)(void * _ObjectData, TObjectHandle Sender, const char * pcURL, int32_t szURL, void * (* Handle));

[PHP]
    TSBSAMLResourceOpenEvent|callable|NULL get_OnResourceOpen()
    void set_OnResourceOpen(TSBSAMLResourceOpenEvent|callable|NULL $Value)
    callable TSBSAMLResourceOpenEvent(TObject $Sender, string $URL, TSBPointer $Handle)

[Java]
    TSBSAMLResourceOpenEvent getOnResourceOpen();
    void setOnResourceOpen(TSBSAMLResourceOpenEvent Value);
    TSBSAMLResourceOpenEvent.Callback OnResourceOpen = new TSBSAMLResourceOpenEvent.Callback() {
        public void TSBSAMLResourceOpenEventCallback(TObject Sender, String URL, TSBObject Handle) {
            //...
        }
    }

Parameters

  • URL - the URL of the protected resource.
  • Handle - a handle of the protected resource.
  • pcURL - the URL of the protected resource.
  • szURL - the length of pcURL.

Description

This event is fired when the requested protected resource has been opened.

See also:     OnResourceClose     OnResourceRead     ProtectedResources    

Discuss this help topic in SecureBlackbox Forum