Discuss this help topic in SecureBlackbox Forum

TElSAMLIdentityProvider.OnChooseNameIDPolicyFormat

TElSAMLIdentityProvider     See also     


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


This event is fired when a different NameIDPolicy format is requested.

Declaration

[C#]
    event TSBSAMLChooseNameIDPolicyFormatEvent OnChooseNameIDPolicyFormat;
    delegate void TSBSAMLChooseNameIDPolicyFormatEvent(Object Sender, TElSAMLIDPSession Session, ref string NameIDPolicy);

[VB.NET]
    Event OnChooseNameIDPolicyFormat As TSBSAMLChooseNameIDPolicyFormatEvent
    Delegate Sub TSBSAMLChooseNameIDPolicyFormatEvent(ByVal Sender As Object, ByVal Session As TElSAMLIDPSession, ByRef NameIDPolicy As String)

[Pascal]
    event OnChooseNameIDPolicyFormat : TSBSAMLChooseNameIDPolicyFormatEvent delegate FOnChooseNameIDPolicyFormat;
    TSBSAMLChooseNameIDPolicyFormatEvent = procedure(Sender : TObject; Session : TElSAMLIDPSession; var NameIDPolicy : TSBString) of object;

[C++]
    void get_OnChooseNameIDPolicyFormat(TSBSAMLChooseNameIDPolicyFormatEvent &pMethodOutResult, void * &pDataOutResult);
    void set_OnChooseNameIDPolicyFormat(TSBSAMLChooseNameIDPolicyFormatEvent pMethodValue, void * pDataValue);
    typedef void (SB_CALLBACK *TSBSAMLChooseNameIDPolicyFormatEvent)(void * _ObjectData, TObjectHandle Sender, TElSAMLIDPSessionHandle Session, char * pcNameIDPolicy, int32_t &szNameIDPolicy);

[PHP]
    TSBSAMLChooseNameIDPolicyFormatEvent|callable|NULL get_OnChooseNameIDPolicyFormat()
    void set_OnChooseNameIDPolicyFormat(TSBSAMLChooseNameIDPolicyFormatEvent|callable|NULL $Value)
    callable TSBSAMLChooseNameIDPolicyFormatEvent(TObject $Sender, TElSAMLIDPSession $Session, string &$NameIDPolicy)

[Java]
    TSBSAMLChooseNameIDPolicyFormatEvent getOnChooseNameIDPolicyFormat();
    void setOnChooseNameIDPolicyFormat(TSBSAMLChooseNameIDPolicyFormatEvent Value);
    TSBSAMLChooseNameIDPolicyFormatEvent.Callback OnChooseNameIDPolicyFormat = new TSBSAMLChooseNameIDPolicyFormatEvent.Callback() {
        public void TSBSAMLChooseNameIDPolicyFormatEventCallback(TObject Sender, TElSAMLIDPSession Session, TSBString NameIDPolicy) {
            //...
        }
    }

Parameters

  • Session - the session within which the request is received.
  • NameIDPolicy - the requested format of NameIDPolicy.
  • pcNameIDPolicy - the requested format of NameIDPolicy.
  • szNameIDPolicy - the length of pcNameIDPolicy.

Description

This event is fired by TElSAMLIdentityProvider when a new NameIDPolicy format is requested, different from the default one.

Discuss this help topic in SecureBlackbox Forum