SamlSecurityTokenHandler.ProcessAttributeStatement Method

Definition

Creates claims from a SAML 1.1 attribute statement and adds them to the specified subject.

C#
protected virtual void ProcessAttributeStatement(System.IdentityModel.Tokens.SamlAttributeStatement samlStatement, System.Security.Claims.ClaimsIdentity subject, string issuer);

Parameters

samlStatement
SamlAttributeStatement

The SamlAttributeStatement from which the claims are created.

subject
ClaimsIdentity

The subject to which the claims are added.

issuer
String

The issuer.

Exceptions

samlStatement is null.

-or-

subject is null.

Remarks

The created claims are added to the subject.

Applies to

Продукт Версії
.NET Framework 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1