Discuss this help topic in SecureBlackbox Forum

TElHTTPSServer.OnAuthorizationDenied

TElHTTPSServer     See also     


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


This event is fired when authorization has been denied.

Declaration

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

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

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

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

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

[Java]
    TSBHTTPSessionEvent getOnAuthorizationDenied();
    void setOnAuthorizationDenied(TSBHTTPSessionEvent Value);
    TSBHTTPSessionEvent.Callback OnAuthorizationDenied = 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 authorization has been denied.

See also:     OnAuthorizationSucceed    

Discuss this help topic in SecureBlackbox Forum