Discuss this help topic in SecureBlackbox Forum

TElHTTPSServer.OnAuthenticationSucceed

TElHTTPSServer     See also     


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


This event is fired when user has successfully authenticated.

Declaration

[C#]
    event TSBHTTPSessionEvent OnAuthenticationSucceed;
    delegate void TSBHTTPSessionEvent(Object Sender, TElHTTPServerRequestParams RequestInfo, TElHTTPSession Session);

[VB.NET]
    Event OnAuthenticationSucceed As TSBHTTPSessionEvent
    Delegate Sub TSBHTTPSessionEvent(ByVal Sender As Object, ByVal RequestInfo As TElHTTPServerRequestParams, ByVal Session As TElHTTPSession)

[Pascal]
    property OnAuthenticationSucceed : TSBHTTPSessionEvent;
    TSBHTTPSessionEvent = procedure(Sender : TObject; RequestInfo : TElHTTPServerRequestParams; Session : TElHTTPSession) of object;

[C++]
    void get_OnAuthenticationSucceed(TSBHTTPSessionEvent &pMethodOutResult, void * &pDataOutResult);
    void set_OnAuthenticationSucceed(TSBHTTPSessionEvent pMethodValue, void * pDataValue);
    typedef void (SB_CALLBACK *TSBHTTPSessionEvent)(void * _ObjectData, TObjectHandle Sender, TElHTTPServerRequestParamsHandle RequestInfo, TElHTTPSessionHandle Session);

[PHP]
    TSBHTTPSessionEvent|callable|NULL get_OnAuthenticationSucceed()
    void set_OnAuthenticationSucceed(TSBHTTPSessionEvent|callable|NULL $Value)
    callable TSBHTTPSessionEvent(TObject $Sender, TElHTTPServerRequestParams $RequestInfo, TElHTTPSession $Session)

[Java]
    TSBHTTPSessionEvent getOnAuthenticationSucceed();
    void setOnAuthenticationSucceed(TSBHTTPSessionEvent Value);
    TSBHTTPSessionEvent.Callback OnAuthenticationSucceed = new TSBHTTPSessionEvent.Callback() {
        public void TSBHTTPSessionEventCallback(TObject Sender, TElHTTPServerRequestParams RequestInfo, TElHTTPSession Session) {
            //...
        }
    }

Parameters

  • RequestInfo - contains client's request parameters.
  • Session - contains information about the session within which authentication was attempted.

Description

This event is fired by OAuth 2.0 server when user has successfully authenticated.

See also:     OnAuthorizationDenied    

Discuss this help topic in SecureBlackbox Forum