Language

Saml2SecurityTokenHandler.AddDelegateToAttributes メソッド

定義

サブジェクトに関連付けられているすべてのデリゲートを属性コレクションに追加します。

protected:
 virtual void AddDelegateToAttributes(System::Security::Claims::ClaimsIdentity ^ subject, System::Collections::Generic::ICollection<System::IdentityModel::Tokens::Saml2Attribute ^> ^ attributes, System::IdentityModel::Tokens::SecurityTokenDescriptor ^ tokenDescriptor);
protected virtual void AddDelegateToAttributes(System.Security.Claims.ClaimsIdentity subject, System.Collections.Generic.ICollection<System.IdentityModel.Tokens.Saml2Attribute> attributes, System.IdentityModel.Tokens.SecurityTokenDescriptor tokenDescriptor);
abstract member AddDelegateToAttributes : System.Security.Claims.ClaimsIdentity * System.Collections.Generic.ICollection<System.IdentityModel.Tokens.Saml2Attribute> * System.IdentityModel.Tokens.SecurityTokenDescriptor -> unit
override this.AddDelegateToAttributes : System.Security.Claims.ClaimsIdentity * System.Collections.Generic.ICollection<System.IdentityModel.Tokens.Saml2Attribute> * System.IdentityModel.Tokens.SecurityTokenDescriptor -> unit
Protected Overridable Sub AddDelegateToAttributes (subject As ClaimsIdentity, attributes As ICollection(Of Saml2Attribute), tokenDescriptor As SecurityTokenDescriptor)

パラメーター

subject
ClaimsIdentity

この ClaimsIdentity オブジェクトのデリゲートは、 Saml2Attributeにシリアル化されます。

attributes
ICollection<Saml2Attribute>

Saml2Attribute型のコレクション。

tokenDescriptor
SecurityTokenDescriptor

トークン記述子。

例外

subject は nullです。

-又は-

tokenDescriptor は nullです。

適用対象