Discuss this help topic in SecureBlackbox Forum

TElSAMLIdentityProvider.OnPageContent

TElSAMLIdentityProvider     


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


This event is fired when the IdP is going to send a custom page.

Declaration

[C#]
    event TSBSAMLPageContentEvent OnPageContent;
    delegate void TSBSAMLPageContentEvent(Object Sender, TElHTTPServerRequestParams Request, TElHTTPServerResponseParams Response, ref byte[] Content, ref int Size);

[VB.NET]
    Event OnPageContent As TSBSAMLPageContentEvent
    Delegate Sub TSBSAMLPageContentEvent(ByVal Sender As Object, ByVal Request As TElHTTPServerRequestParams, ByVal Response As TElHTTPServerResponseParams, ByRef Content As Byte(), ByRef Size As Integer)

[Pascal]
    event OnPageContent : TSBSAMLPageContentEvent delegate FOnPageContentEvent;
    TSBSAMLPageContentEvent = procedure(Sender : TObject; Request : TElHTTPServerRequestParams; Response : TElHTTPServerResponseParams; var Content : ByteArray; var Size : TSBInteger) of object;

[C++]
    void get_OnPageContent(TSBSAMLPageContentEvent &pMethodOutResult, void * &pDataOutResult);
    void set_OnPageContent(TSBSAMLPageContentEvent pMethodValue, void * pDataValue);
    typedef void (SB_CALLBACK *TSBSAMLPageContentEvent)(void * _ObjectData, TObjectHandle Sender, TElHTTPServerRequestParamsHandle Request, TElHTTPServerResponseParamsHandle Response, uint8_t pContent[], int32_t &szContent, int32_t &Size);

[PHP]
    TSBSAMLPageContentEvent|callable|NULL get_OnPageContent()
    void set_OnPageContent(TSBSAMLPageContentEvent|callable|NULL $Value)
    callable TSBSAMLPageContentEvent(TObject $Sender, TElHTTPServerRequestParams $Request, TElHTTPServerResponseParams $Response, string &$Content, integer &$Size)

[Java]
    TSBSAMLPageContentEvent getOnPageContent();
    void setOnPageContent(TSBSAMLPageContentEvent Value);
    TSBSAMLPageContentEvent.Callback OnPageContent = new TSBSAMLPageContentEvent.Callback() {
        public void TSBSAMLPageContentEventCallback(TObject Sender, TElHTTPServerRequestParams Request, TElHTTPServerResponseParams Response, byte[] Content, TSBInteger Size) {
            //...
        }
    }

Parameters

  • Request - the request to which the response is being prepared.
  • Response - current response prepared by the IdP.
  • Content - the content of the page to be sent.
  • Size - the size of the page data in the buffer.
  • pContent - the content of the page to be sent.
  • szContent - the size of the page data in the buffer.

Description

This event is fired by TElSAMLIdentityProvider when it is going to send a custom page to the user.

Discuss this help topic in SecureBlackbox Forum