Discuss this help topic in SecureBlackbox Forum

TElSAMLIDPPasswordMemoryAuthSource.OnGetAttribute

TElSAMLIDPPasswordMemoryAuthSource     See also     


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


This event is fired when a user attribute is requested.

Declaration

[C#]
    event TSBSAMLIDPGetAttributeEvent OnGetAttribute;
    delegate void TSBSAMLIDPGetAttributeEvent(Object Sender, string ID, string Format, TElSAMLAttributeElement Attribute, TElSAMLAttributeElement Res);

[VB.NET]
    Event OnGetAttribute As TSBSAMLIDPGetAttributeEvent
    Delegate Sub TSBSAMLIDPGetAttributeEvent(ByVal Sender As Object, ByVal ID As String, ByVal Format As String, ByVal Attribute As TElSAMLAttributeElement, ByVal Res As TElSAMLAttributeElement)

[Pascal]
    event OnGetAttribute : TSBSAMLIDPGetAttributeEvent delegate FOnGetAttribute;
    TSBSAMLIDPGetAttributeEvent = procedure(Sender : TObject; const ID, Format : string; Attribute : TElSAMLAttributeElement; Res : TElSAMLAttributeElement) of object;

[C++]
    void get_OnGetAttribute(TSBSAMLIDPGetAttributeEvent &pMethodOutResult, void * &pDataOutResult);
    void set_OnGetAttribute(TSBSAMLIDPGetAttributeEvent pMethodValue, void * pDataValue);
    typedef void (SB_CALLBACK *TSBSAMLIDPGetAttributeEvent)(void * _ObjectData, TObjectHandle Sender, const char * pcID, int32_t szID, const char * pcFormat, int32_t szFormat, TElSAMLAttributeElementHandle Attribute, TElSAMLAttributeElementHandle Res);

[PHP]
    TSBSAMLIDPGetAttributeEvent|callable|NULL get_OnGetAttribute()
    void set_OnGetAttribute(TSBSAMLIDPGetAttributeEvent|callable|NULL $Value)
    callable TSBSAMLIDPGetAttributeEvent(TObject $Sender, string $ID, string $Format, TElSAMLAttributeElement $Attribute, TElSAMLAttributeElement $Res)

[Java]
    TSBSAMLIDPGetAttributeEvent getOnGetAttribute();
    void setOnGetAttribute(TSBSAMLIDPGetAttributeEvent Value);
    TSBSAMLIDPGetAttributeEvent.Callback OnGetAttribute = new TSBSAMLIDPGetAttributeEvent.Callback() {
        public void TSBSAMLIDPGetAttributeEventCallback(TObject Sender, String ID, String Format, TElSAMLAttributeElement Attribute, TElSAMLAttributeElement Res) {
            //...
        }
    }

Parameters

  • ID - user ID for which the attribute is requested.
  • Format - specifies the attribute format as defined in SAML Core specification.
  • Attribute - the requested attribute.
  • Res - the resulting attribute.
  • pcID - user ID for which the attribute is requested.
  • szID - the length of pcID.
  • pcFormat - specifies the attribute format as defined in SAML Core specification.
  • szFormat - the length of pcFormat.

Description

This event is fired when a user attribute other than IDPEmail is requested. The handler should assign the corresponding values of the Res parameter.

See also:     OnSetAttribute    

Discuss this help topic in SecureBlackbox Forum