SamlAuthenticationStatement Class
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.
Represents a claim for a SamlSecurityToken security token that asserts that the subject was authenticated by a particular means at a particular time.
public ref class SamlAuthenticationStatement : System::IdentityModel::Tokens::SamlSubjectStatement
public class SamlAuthenticationStatement : System.IdentityModel.Tokens.SamlSubjectStatement
type SamlAuthenticationStatement = class
inherit SamlSubjectStatement
Public Class SamlAuthenticationStatement
Inherits SamlSubjectStatement
- Inheritance
Remarks
SamlSecurityToken security tokens specify their claims using SAML assertions, which can specify when the subject was authenticated. The claims in a SAML assertion are represented by SAML statements. The SAML specification defines a set of SAML statement types and one of them is a SamlAuthenticationStatement. A SamlAuthenticationStatement asserts that the statement's subject was authenticated by a particular means at a particular time.
Constructors
SamlAuthenticationStatement() |
Initializes a new instance of the SamlAuthenticationStatement class. |
SamlAuthenticationStatement(SamlSubject, String, DateTime, String, String, IEnumerable<SamlAuthorityBinding>) |
Initializes a new instance of the SamlAuthenticationStatement class using the specified authentication details. |
Properties
AuthenticationInstant |
Gets or sets the instant in time at which the subject was authenticated. |
AuthenticationMethod |
Gets or sets the method used to authenticate the subject. |
AuthorityBindings |
Gets additional information about the subject. |
ClaimType |
Gets the type of security claim. |
DnsAddress |
Gets or sets the DNS domain name in which the computer that authenticated the subject resides. |
IPAddress |
Gets or sets the IP address of the computer that authenticated the subject. |
IsReadOnly |
Gets a value that indicates whether the properties of this instance are read-only. |
SamlSubject |
Gets or sets the subject of a SamlSecurityToken security token. (Inherited from SamlSubjectStatement) |
Methods
AddClaimsToList(IList<Claim>) |
Adds a claim based on the properties of this instance to the specified collection of claims. |
CreatePolicy(ClaimSet, SamlSecurityTokenAuthenticator) |
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) |
GetHashCode() |
Serves as the default hash function. (Inherited from Object) |
GetType() |
Gets the Type of the current instance. (Inherited from Object) |
MakeReadOnly() |
Causes this instance to be read-only. |
MemberwiseClone() |
Creates a shallow copy of the current Object. (Inherited from Object) |
ReadXml(XmlDictionaryReader, SamlSerializer, SecurityTokenSerializer, SecurityTokenResolver) |
Reads the SAML authentication statement from the specified XML reader. |
SetSubject(SamlSubject) |
Sets the subject of a SamlSecurityToken security token. (Inherited from SamlSubjectStatement) |
ToString() |
Returns a string that represents the current object. (Inherited from Object) |
WriteXml(XmlDictionaryWriter, SamlSerializer, SecurityTokenSerializer) |
Writes the SAML authentication statement into the specified XML serializer. |