Discuss this help topic in SecureBlackbox Forum

TElSAMLIdentityProvider.OnChooseAuthnContext

TElSAMLIdentityProvider     See also     


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


This event is fired when client authentication context has changed.

Declaration

[C#]
    event TSBSAMLChooseAuthnContext OnChooseAuthnContext;
    delegate void TSBSAMLChooseAuthnContext(Object Sender, TElSAMLAuthnRequestElement Request, ref string AuthnContextClassRef);

[VB.NET]
    Event OnChooseAuthnContext As TSBSAMLChooseAuthnContext
    Delegate Sub TSBSAMLChooseAuthnContext(ByVal Sender As Object, ByVal Request As TElSAMLAuthnRequestElement, ByRef AuthnContextClassRef As String)

[Pascal]
    event OnChooseAuthnContext : TSBSAMLChooseAuthnContext delegate FOnChooseAuthnContext;
    TSBSAMLChooseAuthnContext = procedure(Sender : TObject; Request : TElSAMLAuthnRequestElement; var AuthnContextClassRef : TSBString) of object;

[C++]
    void get_OnChooseAuthnContext(TSBSAMLChooseAuthnContext &pMethodOutResult, void * &pDataOutResult);
    void set_OnChooseAuthnContext(TSBSAMLChooseAuthnContext pMethodValue, void * pDataValue);
    typedef void (SB_CALLBACK *TSBSAMLChooseAuthnContext)(void * _ObjectData, TObjectHandle Sender, TElSAMLAuthnRequestElementHandle Request, char * pcAuthnContextClassRef, int32_t &szAuthnContextClassRef);

[PHP]
    TSBSAMLChooseAuthnContext|callable|NULL get_OnChooseAuthnContext()
    void set_OnChooseAuthnContext(TSBSAMLChooseAuthnContext|callable|NULL $Value)
    callable TSBSAMLChooseAuthnContext(TObject $Sender, TElSAMLAuthnRequestElement $Request, string &$AuthnContextClassRef)

[Java]
    TSBSAMLChooseAuthnContext getOnChooseAuthnContext();
    void setOnChooseAuthnContext(TSBSAMLChooseAuthnContext Value);
    TSBSAMLChooseAuthnContext.Callback OnChooseAuthnContext = new TSBSAMLChooseAuthnContext.Callback() {
        public void TSBSAMLChooseAuthnContextCallback(TObject Sender, TElSAMLAuthnRequestElement Request, TSBString AuthnContextClassRef) {
            //...
        }
    }

Parameters

  • Request - the AuthnRequest element.
  • AuthnContextClassRef - the new value of authentication context.
  • pcAuthnContextClassRef - the new value of authentication context.
  • szAuthnContextClassRef - the length of pcAuthnContextClassRef.

Description

This event is fired when authentication context requirements have changed. This may happen when client's request contains the RequestedAuthnContext element. The handler may change the chosen authentication context, or leave it as it is.

Discuss this help topic in SecureBlackbox Forum