SamlSecurityTokenHandler.AddActorToAttributes Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Adds all Actors.
protected virtual void AddActorToAttributes (System.Collections.Generic.ICollection<Microsoft.IdentityModel.Tokens.Saml.SamlAttribute> attributes, System.Security.Claims.ClaimsIdentity subject);
abstract member AddActorToAttributes : System.Collections.Generic.ICollection<Microsoft.IdentityModel.Tokens.Saml.SamlAttribute> * System.Security.Claims.ClaimsIdentity -> unit
override this.AddActorToAttributes : System.Collections.Generic.ICollection<Microsoft.IdentityModel.Tokens.Saml.SamlAttribute> * System.Security.Claims.ClaimsIdentity -> unit
Protected Overridable Sub AddActorToAttributes (attributes As ICollection(Of SamlAttribute), subject As ClaimsIdentity)
Parameters
- attributes
- ICollection<SamlAttribute>
Attribute collection to which the Actor added.
- subject
- ClaimsIdentity
Exceptions
if attributes
is null.