Discuss this help topic in SecureBlackbox Forum

TElSAMLIdentityProvider.OnResponseStatusCode

TElSAMLIdentityProvider     See also     


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


This event is fired to set response status.

Declaration

[C#]
    event TSBSAMLResponseStatusCodeEvent OnResponseStatusCode;
    delegate void TSBSAMLResponseStatusCodeEvent(Object Sender, ref int StatusCode, ref string ErrorMessage, ref bool DestroySession);

[VB.NET]
    Event OnResponseStatusCode As TSBSAMLResponseStatusCodeEvent
    Delegate Sub TSBSAMLResponseStatusCodeEvent(ByVal Sender As Object, ByRef StatusCode As Integer, ByRef ErrorMessage As String, ByRef DestroySession As Boolean)

[Pascal]
    event OnResponseStatusCode : TSBSAMLResponseStatusCodeEvent delegate FOnResponseStatusCode;
    TSBSAMLResponseStatusCodeEvent = procedure(Sender : TObject; var StatusCode : TSBInteger; var ErrorMessage : TSBString; var DestroySession : TSBBoolean) of object;

[C++]
    void get_OnResponseStatusCode(TSBSAMLResponseStatusCodeEvent &pMethodOutResult, void * &pDataOutResult);
    void set_OnResponseStatusCode(TSBSAMLResponseStatusCodeEvent pMethodValue, void * pDataValue);
    typedef void (SB_CALLBACK *TSBSAMLResponseStatusCodeEvent)(void * _ObjectData, TObjectHandle Sender, int32_t &StatusCode, char * pcErrorMessage, int32_t &szErrorMessage, int8_t &DestroySession);

[PHP]
    TSBSAMLResponseStatusCodeEvent|callable|NULL get_OnResponseStatusCode()
    void set_OnResponseStatusCode(TSBSAMLResponseStatusCodeEvent|callable|NULL $Value)
    callable TSBSAMLResponseStatusCodeEvent(TObject $Sender, integer &$StatusCode, string &$ErrorMessage, bool &$DestroySession)

[Java]
    TSBSAMLResponseStatusCodeEvent getOnResponseStatusCode();
    void setOnResponseStatusCode(TSBSAMLResponseStatusCodeEvent Value);
    TSBSAMLResponseStatusCodeEvent.Callback OnResponseStatusCode = new TSBSAMLResponseStatusCodeEvent.Callback() {
        public void TSBSAMLResponseStatusCodeEventCallback(TObject Sender, TSBInteger StatusCode, TSBString ErrorMessage, TSBBoolean DestroySession) {
            //...
        }
    }

Parameters

  • StatusCode - the status code of the response.
  • ErrorMessage - human-readable error message.
  • DestroySession - set this parameter to true to destroy current session.
  • pcErrorMessage - human-readable error message.
  • szErrorMessage - the length of pcErrorMessage.

Description

This event is fired by TElSAMLIdentityProvider when it assigns a status code to the response.

See also:     OnResponsePrepared    

Discuss this help topic in SecureBlackbox Forum