Discuss this help topic in SecureBlackbox Forum

TElSAMLServiceProvider.OnChooseMetadataIDPDescriptor

TElSAMLServiceProvider     


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


This event allows to choose the IdP descriptor from metadata.

Declaration

[C#]
    event TSBSAMLChooseMetadataDescriptorEvent OnChooseMetadataIDPDescriptor;
    delegate void TSBSAMLChooseMetadataDescriptorEvent(Object Sender, TElSAMLEntityDescriptorElement Descriptor, ref bool Stop);

[VB.NET]
    Event OnChooseMetadataIDPDescriptor As TSBSAMLChooseMetadataDescriptorEvent
    Delegate Sub TSBSAMLChooseMetadataDescriptorEvent(ByVal Sender As Object, ByVal Descriptor As TElSAMLEntityDescriptorElement, ByRef Stop As Boolean)

[Pascal]
    property OnChooseMetadataIDPDescriptor : TSBSAMLChooseMetadataDescriptorEvent;
    TSBSAMLChooseMetadataDescriptorEvent = procedure(Sender : TObject; Descriptor : TElSAMLEntityDescriptorElement; var Stop : boolean) of object;

[C++]
    void get_OnChooseMetadataIDPDescriptor(TSBSAMLChooseMetadataDescriptorEvent &pMethodOutResult, void * &pDataOutResult);
    void set_OnChooseMetadataIDPDescriptor(TSBSAMLChooseMetadataDescriptorEvent pMethodValue, void * pDataValue);
    typedef void (SB_CALLBACK *TSBSAMLChooseMetadataDescriptorEvent)(void * _ObjectData, TObjectHandle Sender, TElSAMLEntityDescriptorElementHandle Descriptor, int8_t &Stop);

[PHP]
    TSBSAMLChooseMetadataDescriptorEvent|callable|NULL get_OnChooseMetadataIDPDescriptor()
    void set_OnChooseMetadataIDPDescriptor(TSBSAMLChooseMetadataDescriptorEvent|callable|NULL $Value)
    callable TSBSAMLChooseMetadataDescriptorEvent(TObject $Sender, TElSAMLEntityDescriptorElement $Descriptor, bool &$Stop)

[Java]
    TSBSAMLChooseMetadataDescriptorEvent getOnChooseMetadataIDPDescriptor();
    void setOnChooseMetadataIDPDescriptor(TSBSAMLChooseMetadataDescriptorEvent Value);
    TSBSAMLChooseMetadataDescriptorEvent.Callback OnChooseMetadataIDPDescriptor = new TSBSAMLChooseMetadataDescriptorEvent.Callback() {
        public void TSBSAMLChooseMetadataDescriptorEventCallback(TObject Sender, TElSAMLEntityDescriptorElement Descriptor, TSBBoolean Stop) {
            //...
        }
    }

Parameters

  • Descriptor - the IdP descriptor.
  • Stop - set this parameter to true to select this descriptor.

Description

This element is fired by TElSAMLServiceProvider when it is searching for the IdP descriptor in metadata, and allows to choose the required descriptor element.

Discuss this help topic in SecureBlackbox Forum