Saml2SecurityTokenHandler.AddDelegateToAttributes Methode

Definitie

Hiermee worden alle gedelegeerden toegevoegd die aan het onderwerp zijn gekoppeld aan de kenmerkverzameling.

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)

Parameters

subject
ClaimsIdentity

De gemachtigde van dit ClaimsIdentity object wordt geserialiseerd in een Saml2Attribute.

attributes
ICollection<Saml2Attribute>

Een verzameling van het type Saml2Attribute.

tokenDescriptor
SecurityTokenDescriptor

De tokendescriptor.

Uitzonderingen

subject is null.

– of –

tokenDescriptor is null.

Van toepassing op