Discuss this help topic in SecureBlackbox Forum

TElSAMLServiceProvider.OnResponderError

TElSAMLServiceProvider     


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


This event is fired when a bad response is received.

Declaration

[C#]
    event TSBSAMLResponderErrorEvent OnResponderError;
    delegate void TSBSAMLResponderErrorEvent(Object Sender, TElSAMLStatusElement Status, ref int StatusCode, ref string RedirectLocation);

[VB.NET]
    Event OnResponderError As TSBSAMLResponderErrorEvent
    Delegate Sub TSBSAMLResponderErrorEvent(ByVal Sender As Object, ByVal Status As TElSAMLStatusElement, ByRef StatusCode As Integer, ByRef RedirectLocation As String)

[Pascal]
    property OnResponderError : TSBSAMLResponderErrorEvent;
    TSBSAMLResponderErrorEvent = procedure(Sender : TObject; Status : TElSAMLStatusElement; var StatusCode : integer; var RedirectLocation : string) of object;

[C++]
    void get_OnResponderError(TSBSAMLResponderErrorEvent &pMethodOutResult, void * &pDataOutResult);
    void set_OnResponderError(TSBSAMLResponderErrorEvent pMethodValue, void * pDataValue);
    typedef void (SB_CALLBACK *TSBSAMLResponderErrorEvent)(void * _ObjectData, TObjectHandle Sender, TElSAMLStatusElementHandle Status, int32_t &StatusCode, char * pcRedirectLocation, int32_t &szRedirectLocation);

[PHP]
    TSBSAMLResponderErrorEvent|callable|NULL get_OnResponderError()
    void set_OnResponderError(TSBSAMLResponderErrorEvent|callable|NULL $Value)
    callable TSBSAMLResponderErrorEvent(TObject $Sender, TElSAMLStatusElement $Status, integer &$StatusCode, string &$RedirectLocation)

[Java]
    TSBSAMLResponderErrorEvent getOnResponderError();
    void setOnResponderError(TSBSAMLResponderErrorEvent Value);
    TSBSAMLResponderErrorEvent.Callback OnResponderError = new TSBSAMLResponderErrorEvent.Callback() {
        public void TSBSAMLResponderErrorEventCallback(TObject Sender, TElSAMLStatusElement Status, TSBInteger StatusCode, TSBString RedirectLocation) {
            //...
        }
    }

Parameters

  • Status - response status.
  • StatusCode - response status code.
  • RedirectLocation - the redirection URL.
  • pcRedirectLocation - the redirection URL.
  • szRedirectLocation - the length of pcRedirectLocation.

Description

This event is fired by TElSAMLServiceProvider when a response with error is received.

Discuss this help topic in SecureBlackbox Forum