Discuss this help topic in SecureBlackbox Forum

TElSAMLIDPPasswordMemoryAuthSource.OnSetAttribute

TElSAMLIDPPasswordMemoryAuthSource     See also     


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


Declaration

[C#]
    event TSBSAMLIDPSetAttributeEvent OnSetAttribute;
    delegate void TSBSAMLIDPSetAttributeEvent(Object Sender, string ID, string Format, TElSAMLAttributeElement Attribute, ref bool Res);

[VB.NET]
    Event OnSetAttribute As TSBSAMLIDPSetAttributeEvent
    Delegate Sub TSBSAMLIDPSetAttributeEvent(ByVal Sender As Object, ByVal ID As String, ByVal Format As String, ByVal Attribute As TElSAMLAttributeElement, ByRef Res As Boolean)

[Pascal]
    event OnSetAttribute : TSBSAMLIDPSetAttributeEvent delegate FOnSetAttribute;
    TSBSAMLIDPSetAttributeEvent = procedure(Sender : TObject; const ID, Format : string; Attribute : TElSAMLAttributeElement; var Res : TSBBoolean) of object;

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

[PHP]
    TSBSAMLIDPSetAttributeEvent|callable|NULL get_OnSetAttribute()
    void set_OnSetAttribute(TSBSAMLIDPSetAttributeEvent|callable|NULL $Value)
    callable TSBSAMLIDPSetAttributeEvent(TObject $Sender, string $ID, string $Format, TElSAMLAttributeElement $Attribute, bool &$Res)

[Java]
    TSBSAMLIDPSetAttributeEvent getOnSetAttribute();
    void setOnSetAttribute(TSBSAMLIDPSetAttributeEvent Value);
    TSBSAMLIDPSetAttributeEvent.Callback OnSetAttribute = new TSBSAMLIDPSetAttributeEvent.Callback() {
        public void TSBSAMLIDPSetAttributeEventCallback(TObject Sender, String ID, String Format, TElSAMLAttributeElement Attribute, TSBBoolean Res) {
            //...
        }
    }

Parameters

  • ID - user ID for which the attribute should be changed.
  • Format - specifies the attribute format as defined in SAML Core specification.
  • Attribute - the attribute which value should be modified.
  • Res - true if the attribute was successfully changed, and false otherwise.
  • 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 an attribute, other than IDPEmail, has to be modified. Handler should change the attribute value, and return true on success or false on failure.

See also:     OnGetAttribute    

Discuss this help topic in SecureBlackbox Forum