SamlAttributeStatement Class
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.
Contains a set of attributes associated with a particular SamlSubject.
public ref class SamlAttributeStatement : System::IdentityModel::Tokens::SamlSubjectStatement
public class SamlAttributeStatement : System.IdentityModel.Tokens.SamlSubjectStatement
type SamlAttributeStatement = class
inherit SamlSubjectStatement
Public Class SamlAttributeStatement
Inherits SamlSubjectStatement
- Inheritance
The SamlAttributeStatement class corresponds to the <saml:AttributeStatement>
XML element that is defined in the OASIS SAML 1.1 specification.
The claims for SamlSecurityToken security tokens are contained in SAML statements, which are in turn contained within a SamlAssertion. One such statement is the SamlAttributeStatement, which binds a set of arbitrary claims to a particular SamlSubject. The claims are represented as a collection of SamlAttribute and are stored in the Attributes property.
Saml |
Initializes a new instance of the SamlAttributeStatement class. |
Saml |
Initializes a new instance of the SamlAttributeStatement class using the specified subject and set of attributes associated with the subject. |
Attributes |
Gets a collection of attributes associated with the subject of the SAML assertion. |
Is |
Gets a value indicating whether the properties of this instance are read-only. |
Saml |
Gets or sets the subject of a SamlSecurityToken security token. (Inherited from SamlSubjectStatement) |
Add |
Adds the specified set of claims as attributes to this SAML statement. |
Create |
Creates an authorization policy for a SamlSecurityToken security token. (Inherited from SamlSubjectStatement) |
Equals(Object) |
Determines whether the specified object is equal to the current object. (Inherited from Object) |
Get |
Serves as the default hash function. (Inherited from Object) |
Get |
Gets the Type of the current instance. (Inherited from Object) |
Make |
Causes this instance to be read-only. |
Memberwise |
Creates a shallow copy of the current Object. (Inherited from Object) |
Read |
Reads the SAML attribute statement from the specified XML reader. |
Set |
Sets the subject of a SamlSecurityToken security token. (Inherited from SamlSubjectStatement) |
To |
Returns a string that represents the current object. (Inherited from Object) |
Write |
Writes the SAML attribute statement into the specified XML serializer. |
Product | Versions |
---|---|
.NET Framework | 3.0, 3.5, 4.0, 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 |
.NET feedback
.NET is an open source project. Select a link to provide feedback: