1 <?xml version="1.0" encoding="utf-8"?>
4 <name>System.Security.Claims</name>
7 <member name="T:System.Security.Claims.Claim">
8 <summary>Represents a claim.</summary>
10 <member name="M:System.Security.Claims.Claim.#ctor(System.IO.BinaryReader)">
11 <summary>Initializes an instance of <see cref="T:System.Security.Claims.Claim" /> with the specified <see cref="T:System.IO.BinaryReader" />.</summary>
12 <param name="reader">A <see cref="T:System.IO.BinaryReader" /> pointing to a <see cref="T:System.Security.Claims.Claim" />.</param>
13 <exception cref="T:System.ArgumentNullException">
14 <paramref name="reader" /> is <see langword="null" />.</exception>
16 <member name="M:System.Security.Claims.Claim.#ctor(System.IO.BinaryReader,System.Security.Claims.ClaimsIdentity)">
17 <summary>Initializes a new instance of the <see cref="T:System.Security.Claims.Claim" /> class with the specified reader and subject.</summary>
18 <param name="reader">The binary reader.</param>
19 <param name="subject">The subject that this claim describes.</param>
20 <exception cref="T:System.ArgumentNullException">
21 <paramref name="reader" /> is <see langword="null" />.</exception>
23 <member name="M:System.Security.Claims.Claim.#ctor(System.Security.Claims.Claim)">
24 <summary>Initializes a new instance of the <see cref="T:System.Security.Claims.Claim" /> class.</summary>
25 <param name="other">The security claim.</param>
26 <exception cref="T:System.ArgumentNullException">
27 <paramref name="other" /> is <see langword="null" />.</exception>
29 <member name="M:System.Security.Claims.Claim.#ctor(System.Security.Claims.Claim,System.Security.Claims.ClaimsIdentity)">
30 <summary>Initializes a new instance of the <see cref="T:System.Security.Claims.Claim" /> class with the specified security claim and subject.</summary>
31 <param name="other">The security claim.</param>
32 <param name="subject">The subject that this claim describes.</param>
33 <exception cref="T:System.ArgumentNullException">
34 <paramref name="other" /> is <see langword="null" />.</exception>
36 <member name="M:System.Security.Claims.Claim.#ctor(System.String,System.String)">
37 <summary>Initializes a new instance of the <see cref="T:System.Security.Claims.Claim" /> class with the specified claim type, and value.</summary>
38 <param name="type">The claim type.</param>
39 <param name="value">The claim value.</param>
40 <exception cref="T:System.ArgumentNullException">
41 <paramref name="type" /> or <paramref name="value" /> is <see langword="null" />.</exception>
43 <member name="M:System.Security.Claims.Claim.#ctor(System.String,System.String,System.String)">
44 <summary>Initializes a new instance of the <see cref="T:System.Security.Claims.Claim" /> class with the specified claim type, value, and value type.</summary>
45 <param name="type">The claim type.</param>
46 <param name="value">The claim value.</param>
47 <param name="valueType">The claim value type. If this parameter is <see langword="null" />, then <see cref="F:System.Security.Claims.ClaimValueTypes.String" /> is used.</param>
48 <exception cref="T:System.ArgumentNullException">
49 <paramref name="type" /> or <paramref name="value" /> is <see langword="null" />.</exception>
51 <member name="M:System.Security.Claims.Claim.#ctor(System.String,System.String,System.String,System.String)">
52 <summary>Initializes a new instance of the <see cref="T:System.Security.Claims.Claim" /> class with the specified claim type, value, value type, and issuer.</summary>
53 <param name="type">The claim type.</param>
54 <param name="value">The claim value.</param>
55 <param name="valueType">The claim value type. If this parameter is <see langword="null" />, then <see cref="F:System.Security.Claims.ClaimValueTypes.String" /> is used.</param>
56 <param name="issuer">The claim issuer. If this parameter is empty or <see langword="null" />, then <see cref="F:System.Security.Claims.ClaimsIdentity.DefaultIssuer" /> is used.</param>
57 <exception cref="T:System.ArgumentNullException">
58 <paramref name="type" /> or <paramref name="value" /> is <see langword="null" />.</exception>
60 <member name="M:System.Security.Claims.Claim.#ctor(System.String,System.String,System.String,System.String,System.String)">
61 <summary>Initializes a new instance of the <see cref="T:System.Security.Claims.Claim" /> class with the specified claim type, value, value type, issuer, and original issuer.</summary>
62 <param name="type">The claim type.</param>
63 <param name="value">The claim value.</param>
64 <param name="valueType">The claim value type. If this parameter is <see langword="null" />, then <see cref="F:System.Security.Claims.ClaimValueTypes.String" /> is used.</param>
65 <param name="issuer">The claim issuer. If this parameter is empty or <see langword="null" />, then <see cref="F:System.Security.Claims.ClaimsIdentity.DefaultIssuer" /> is used.</param>
66 <param name="originalIssuer">The original issuer of the claim. If this parameter is empty or <see langword="null" />, then the <see cref="P:System.Security.Claims.Claim.OriginalIssuer" /> property is set to the value of the <see cref="P:System.Security.Claims.Claim.Issuer" /> property.</param>
67 <exception cref="T:System.ArgumentNullException">
68 <paramref name="type" /> or <paramref name="value" /> is <see langword="null" />.</exception>
70 <member name="M:System.Security.Claims.Claim.#ctor(System.String,System.String,System.String,System.String,System.String,System.Security.Claims.ClaimsIdentity)">
71 <summary>Initializes a new instance of the <see cref="T:System.Security.Claims.Claim" /> class with the specified claim type, value, value type, issuer, original issuer and subject.</summary>
72 <param name="type">The claim type.</param>
73 <param name="value">The claim value.</param>
74 <param name="valueType">The claim value type. If this parameter is <see langword="null" />, then <see cref="F:System.Security.Claims.ClaimValueTypes.String" /> is used.</param>
75 <param name="issuer">The claim issuer. If this parameter is empty or <see langword="null" />, then <see cref="F:System.Security.Claims.ClaimsIdentity.DefaultIssuer" /> is used.</param>
76 <param name="originalIssuer">The original issuer of the claim. If this parameter is empty or <see langword="null" />, then the <see cref="P:System.Security.Claims.Claim.OriginalIssuer" /> property is set to the value of the <see cref="P:System.Security.Claims.Claim.Issuer" /> property.</param>
77 <param name="subject">The subject that this claim describes.</param>
78 <exception cref="T:System.ArgumentNullException">
79 <paramref name="type" /> or <paramref name="value" /> is <see langword="null" />.</exception>
81 <member name="M:System.Security.Claims.Claim.Clone">
82 <summary>Returns a new <see cref="T:System.Security.Claims.Claim" /> object copied from this object. The new claim does not have a subject.</summary>
83 <returns>The new claim object.</returns>
85 <member name="M:System.Security.Claims.Claim.Clone(System.Security.Claims.ClaimsIdentity)">
86 <summary>Returns a new <see cref="T:System.Security.Claims.Claim" /> object copied from this object. The subject of the new claim is set to the specified ClaimsIdentity.</summary>
87 <param name="identity">The intended subject of the new claim.</param>
88 <returns>The new claim object.</returns>
90 <member name="P:System.Security.Claims.Claim.CustomSerializationData">
91 <summary>Contains any additional data provided by a derived type.</summary>
92 <returns>A <see cref="T:System.Byte" /> array representing the additional serialized data.</returns>
94 <member name="P:System.Security.Claims.Claim.Issuer">
95 <summary>Gets the issuer of the claim.</summary>
96 <returns>A name that refers to the issuer of the claim.</returns>
98 <member name="P:System.Security.Claims.Claim.OriginalIssuer">
99 <summary>Gets the original issuer of the claim.</summary>
100 <returns>A name that refers to the original issuer of the claim.</returns>
102 <member name="P:System.Security.Claims.Claim.Properties">
103 <summary>Gets a dictionary that contains additional properties associated with this claim.</summary>
104 <returns>A dictionary that contains additional properties associated with the claim. The properties are represented as name-value pairs.</returns>
106 <member name="P:System.Security.Claims.Claim.Subject">
107 <summary>Gets the subject of the claim.</summary>
108 <returns>The subject of the claim.</returns>
110 <member name="M:System.Security.Claims.Claim.ToString">
111 <summary>Returns a string representation of this <see cref="T:System.Security.Claims.Claim" /> object.</summary>
112 <returns>The string representation of this <see cref="T:System.Security.Claims.Claim" /> object.</returns>
114 <member name="P:System.Security.Claims.Claim.Type">
115 <summary>Gets the claim type of the claim.</summary>
116 <returns>The claim type.</returns>
118 <member name="P:System.Security.Claims.Claim.Value">
119 <summary>Gets the value of the claim.</summary>
120 <returns>The claim value.</returns>
122 <member name="P:System.Security.Claims.Claim.ValueType">
123 <summary>Gets the value type of the claim.</summary>
124 <returns>The claim value type.</returns>
126 <member name="M:System.Security.Claims.Claim.WriteTo(System.IO.BinaryWriter)">
127 <summary>Writes this <see cref="T:System.Security.Claims.Claim" /> to the writer.</summary>
128 <param name="writer">The writer to use for data storage.</param>
129 <exception cref="T:System.ArgumentNullException">
130 <paramref name="writer" /> is <see langword="null" />.</exception>
132 <member name="M:System.Security.Claims.Claim.WriteTo(System.IO.BinaryWriter,System.Byte[])">
133 <summary>Writes this <see cref="T:System.Security.Claims.Claim" /> to the writer.</summary>
134 <param name="writer">The writer to write this claim.</param>
135 <param name="userData">The user data to claim.</param>
136 <exception cref="T:System.ArgumentNullException">
137 <paramref name="writer" /> is <see langword="null" />.</exception>
139 <member name="T:System.Security.Claims.ClaimsIdentity">
140 <summary>Represents a claims-based identity.</summary>
142 <member name="M:System.Security.Claims.ClaimsIdentity.#ctor">
143 <summary>Initializes a new instance of the <see cref="T:System.Security.Claims.ClaimsIdentity" /> class with an empty claims collection.</summary>
145 <member name="M:System.Security.Claims.ClaimsIdentity.#ctor(System.Collections.Generic.IEnumerable{System.Security.Claims.Claim})">
146 <summary>Initializes a new instance of the <see cref="T:System.Security.Claims.ClaimsIdentity" /> class using an enumerated collection of <see cref="T:System.Security.Claims.Claim" /> objects.</summary>
147 <param name="claims">The claims with which to populate the claims identity.</param>
149 <member name="M:System.Security.Claims.ClaimsIdentity.#ctor(System.Collections.Generic.IEnumerable{System.Security.Claims.Claim},System.String)">
150 <summary>Initializes a new instance of the <see cref="T:System.Security.Claims.ClaimsIdentity" /> class with the specified claims and authentication type.</summary>
151 <param name="claims">The claims with which to populate the claims identity.</param>
152 <param name="authenticationType">The type of authentication used.</param>
154 <member name="M:System.Security.Claims.ClaimsIdentity.#ctor(System.Collections.Generic.IEnumerable{System.Security.Claims.Claim},System.String,System.String,System.String)">
155 <summary>Initializes a new instance of the <see cref="T:System.Security.Claims.ClaimsIdentity" /> class with the specified claims, authentication type, name claim type, and role claim type.</summary>
156 <param name="claims">The claims with which to populate the claims identity.</param>
157 <param name="authenticationType">The type of authentication used.</param>
158 <param name="nameType">The claim type to use for name claims.</param>
159 <param name="roleType">The claim type to use for role claims.</param>
161 <member name="M:System.Security.Claims.ClaimsIdentity.#ctor(System.IO.BinaryReader)">
162 <summary>Initializes an instance of <see cref="T:System.Security.Claims.ClaimsIdentity" /> with the specified <see cref="T:System.IO.BinaryReader" />.</summary>
163 <param name="reader">A <see cref="T:System.IO.BinaryReader" /> pointing to a <see cref="T:System.Security.Claims.ClaimsIdentity" />.</param>
164 <exception cref="T:System.ArgumentNullException">
165 <paramref name="reader" /> is <see langword="null" />.</exception>
167 <member name="M:System.Security.Claims.ClaimsIdentity.#ctor(System.Runtime.Serialization.SerializationInfo)">
168 <summary>Initializes a new instance of the <see cref="T:System.Security.Claims.ClaimsIdentity" /> class from a serialized stream created by using <see cref="T:System.Runtime.Serialization.ISerializable" />.</summary>
169 <param name="info">The serialized data.</param>
170 <exception cref="T:System.ArgumentNullException">
171 <paramref name="info" /> is <see langword="null" />.</exception>
173 <member name="M:System.Security.Claims.ClaimsIdentity.#ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">
174 <summary>Initializes a new instance of the <see cref="T:System.Security.Claims.ClaimsIdentity" /> class from a serialized stream created by using <see cref="T:System.Runtime.Serialization.ISerializable" />.</summary>
175 <param name="info">The serialized data.</param>
176 <param name="context">The context for serialization.</param>
177 <exception cref="T:System.ArgumentNullException">
178 <paramref name="info" /> is null.</exception>
180 <member name="M:System.Security.Claims.ClaimsIdentity.#ctor(System.Security.Claims.ClaimsIdentity)">
181 <summary>Initializes a new instance of the <see cref="T:System.Security.Claims.ClaimsIdentity" /> class from an existing <see cref="T:System.Security.Claims.ClaimsIdentity" /> instance.</summary>
182 <param name="other">The <see cref="T:System.Security.Claims.ClaimsIdentity" /> to copy.</param>
183 <exception cref="T:System.ArgumentNullException">
184 <paramref name="other" /> is null.</exception>
186 <member name="M:System.Security.Claims.ClaimsIdentity.#ctor(System.Security.Principal.IIdentity)">
187 <summary>Initializes a new instance of the <see cref="T:System.Security.Claims.ClaimsIdentity" /> class using the name and authentication type from the specified <see cref="T:System.Security.Principal.IIdentity" />.</summary>
188 <param name="identity">The identity from which to base the new claims identity.</param>
190 <member name="M:System.Security.Claims.ClaimsIdentity.#ctor(System.Security.Principal.IIdentity,System.Collections.Generic.IEnumerable{System.Security.Claims.Claim})">
191 <summary>Initializes a new instance of the <see cref="T:System.Security.Claims.ClaimsIdentity" /> class using the specified claims and the specified <see cref="T:System.Security.Principal.IIdentity" />.</summary>
192 <param name="identity">The identity from which to base the new claims identity.</param>
193 <param name="claims">The claims with which to populate the claims identity.</param>
195 <member name="M:System.Security.Claims.ClaimsIdentity.#ctor(System.Security.Principal.IIdentity,System.Collections.Generic.IEnumerable{System.Security.Claims.Claim},System.String,System.String,System.String)">
196 <summary>Initializes a new instance of the <see cref="T:System.Security.Claims.ClaimsIdentity" /> class from the specified <see cref="T:System.Security.Principal.IIdentity" /> using the specified claims, authentication type, name claim type, and role claim type.</summary>
197 <param name="identity">The identity from which to base the new claims identity.</param>
198 <param name="claims">The claims with which to populate the new claims identity.</param>
199 <param name="authenticationType">The type of authentication used.</param>
200 <param name="nameType">The claim type to use for name claims.</param>
201 <param name="roleType">The claim type to use for role claims.</param>
202 <exception cref="T:System.InvalidOperationException">
203 <paramref name="identity" /> is a <see cref="T:System.Security.Claims.ClaimsIdentity" /> and <see cref="P:System.Security.Claims.ClaimsIdentity.Actor" /> results in a circular reference back to <see langword="this" />.</exception>
205 <member name="M:System.Security.Claims.ClaimsIdentity.#ctor(System.String)">
206 <summary>Initializes a new instance of the <see cref="T:System.Security.Claims.ClaimsIdentity" /> class with an empty claims collection and the specified authentication type.</summary>
207 <param name="authenticationType">The type of authentication used.</param>
209 <member name="M:System.Security.Claims.ClaimsIdentity.#ctor(System.String,System.String,System.String)">
210 <summary>Initializes a new instance of the <see cref="T:System.Security.Claims.ClaimsIdentity" /> class with the specified authentication type, name claim type, and role claim type.</summary>
211 <param name="authenticationType">The type of authentication used.</param>
212 <param name="nameType">The claim type to use for name claims.</param>
213 <param name="roleType">The claim type to use for role claims.</param>
215 <member name="P:System.Security.Claims.ClaimsIdentity.Actor">
216 <summary>Gets or sets the identity of the calling party that was granted delegation rights.</summary>
217 <returns>The calling party that was granted delegation rights.</returns>
218 <exception cref="T:System.InvalidOperationException">An attempt to set the property to the current instance occurs.</exception>
220 <member name="M:System.Security.Claims.ClaimsIdentity.AddClaim(System.Security.Claims.Claim)">
221 <summary>Adds a single claim to this claims identity.</summary>
222 <param name="claim">The claim to add.</param>
223 <exception cref="T:System.ArgumentNullException">
224 <paramref name="claim" /> is <see langword="null" />.</exception>
226 <member name="M:System.Security.Claims.ClaimsIdentity.AddClaims(System.Collections.Generic.IEnumerable{System.Security.Claims.Claim})">
227 <summary>Adds a list of claims to this claims identity.</summary>
228 <param name="claims">The claims to add.</param>
229 <exception cref="T:System.ArgumentNullException">
230 <paramref name="claims" /> is <see langword="null" />.</exception>
232 <member name="P:System.Security.Claims.ClaimsIdentity.AuthenticationType">
233 <summary>Gets the authentication type.</summary>
234 <returns>The authentication type.</returns>
236 <member name="P:System.Security.Claims.ClaimsIdentity.BootstrapContext">
237 <summary>Gets or sets the token that was used to create this claims identity.</summary>
238 <returns>The bootstrap context.</returns>
240 <member name="P:System.Security.Claims.ClaimsIdentity.Claims">
241 <summary>Gets the claims associated with this claims identity.</summary>
242 <returns>The collection of claims associated with this claims identity.</returns>
244 <member name="M:System.Security.Claims.ClaimsIdentity.Clone">
245 <summary>Returns a new <see cref="T:System.Security.Claims.ClaimsIdentity" /> copied from this claims identity.</summary>
246 <returns>A copy of the current instance.</returns>
248 <member name="M:System.Security.Claims.ClaimsIdentity.CreateClaim(System.IO.BinaryReader)">
249 <summary>Provides an extensibility point for derived types to create a custom <see cref="T:System.Security.Claims.Claim" />.</summary>
250 <param name="reader">The <see cref="T:System.IO.BinaryReader" /> that points to the claim.</param>
251 <returns>A new <see cref="T:System.Security.Claims.Claim" />.</returns>
252 <exception cref="T:System.ArgumentNullException">
253 <paramref name="reader" /> is <see langword="null" />.</exception>
255 <member name="P:System.Security.Claims.ClaimsIdentity.CustomSerializationData">
256 <summary>Contains any additional data provided by a derived type. Typically set when calling <see cref="M:System.Security.Claims.ClaimsIdentity.WriteTo(System.IO.BinaryWriter,System.Byte[])" />.</summary>
257 <returns>A <see cref="T:System.Byte" /> array representing the additional serialized data.</returns>
259 <member name="F:System.Security.Claims.ClaimsIdentity.DefaultIssuer">
260 <summary>The default issuer; "LOCAL AUTHORITY".</summary>
262 <member name="F:System.Security.Claims.ClaimsIdentity.DefaultNameClaimType">
263 <summary>The default name claim type; <see cref="F:System.Security.Claims.ClaimTypes.Name" />.</summary>
265 <member name="F:System.Security.Claims.ClaimsIdentity.DefaultRoleClaimType">
266 <summary>The default role claim type; <see cref="F:System.Security.Claims.ClaimTypes.Role" />.</summary>
268 <member name="M:System.Security.Claims.ClaimsIdentity.FindAll(System.Predicate{System.Security.Claims.Claim})">
269 <summary>Retrieves all of the claims that are matched by the specified predicate.</summary>
270 <param name="match">The function that performs the matching logic.</param>
271 <returns>The matching claims. The list is read-only.</returns>
272 <exception cref="T:System.ArgumentNullException">
273 <paramref name="match" /> is null.</exception>
275 <member name="M:System.Security.Claims.ClaimsIdentity.FindAll(System.String)">
276 <summary>Retrieves all of the claims that have the specified claim type.</summary>
277 <param name="type">The claim type against which to match claims.</param>
278 <returns>The matching claims. The list is read-only.</returns>
279 <exception cref="T:System.ArgumentNullException">
280 <paramref name="type" /> is null.</exception>
282 <member name="M:System.Security.Claims.ClaimsIdentity.FindFirst(System.Predicate{System.Security.Claims.Claim})">
283 <summary>Retrieves the first claim that is matched by the specified predicate.</summary>
284 <param name="match">The function that performs the matching logic.</param>
285 <returns>The first matching claim or <see langword="null" /> if no match is found.</returns>
286 <exception cref="T:System.ArgumentNullException">
287 <paramref name="match" /> is null.</exception>
289 <member name="M:System.Security.Claims.ClaimsIdentity.FindFirst(System.String)">
290 <summary>Retrieves the first claim with the specified claim type.</summary>
291 <param name="type">The claim type to match.</param>
292 <returns>The first matching claim or <see langword="null" /> if no match is found.</returns>
293 <exception cref="T:System.ArgumentNullException">
294 <paramref name="type" /> is null.</exception>
296 <member name="M:System.Security.Claims.ClaimsIdentity.GetObjectData(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">
297 <summary>Populates the <see cref="T:System.Runtime.Serialization.SerializationInfo" /> with data needed to serialize the current <see cref="T:System.Security.Claims.ClaimsIdentity" /> object.</summary>
298 <param name="info">The object to populate with data.</param>
299 <param name="context">The destination for this serialization. Can be <see langword="null" />.</param>
300 <exception cref="T:System.ArgumentNullException">
301 <paramref name="info" /> is <see langword="null" />.</exception>
303 <member name="M:System.Security.Claims.ClaimsIdentity.HasClaim(System.Predicate{System.Security.Claims.Claim})">
304 <summary>Determines whether this claims identity has a claim that is matched by the specified predicate.</summary>
305 <param name="match">The function that performs the matching logic.</param>
307 <see langword="true" /> if a matching claim exists; otherwise, <see langword="false" />.</returns>
308 <exception cref="T:System.ArgumentNullException">
309 <paramref name="match" /> is null.</exception>
311 <member name="M:System.Security.Claims.ClaimsIdentity.HasClaim(System.String,System.String)">
312 <summary>Determines whether this claims identity has a claim with the specified claim type and value.</summary>
313 <param name="type">The type of the claim to match.</param>
314 <param name="value">The value of the claim to match.</param>
316 <see langword="true" /> if a match is found; otherwise, <see langword="false" />.</returns>
317 <exception cref="T:System.ArgumentNullException">
318 <paramref name="type" /> is null.
320 <paramref name="value" /> is null.</exception>
322 <member name="P:System.Security.Claims.ClaimsIdentity.IsAuthenticated">
323 <summary>Gets a value that indicates whether the identity has been authenticated.</summary>
325 <see langword="true" /> if the identity has been authenticated; otherwise, <see langword="false" />.</returns>
327 <member name="P:System.Security.Claims.ClaimsIdentity.Label">
328 <summary>Gets or sets the label for this claims identity.</summary>
329 <returns>The label.</returns>
331 <member name="P:System.Security.Claims.ClaimsIdentity.Name">
332 <summary>Gets the name of this claims identity.</summary>
333 <returns>The name or <see langword="null" />.</returns>
335 <member name="P:System.Security.Claims.ClaimsIdentity.NameClaimType">
336 <summary>Gets the claim type that is used to determine which claims provide the value for the <see cref="P:System.Security.Claims.ClaimsIdentity.Name" /> property of this claims identity.</summary>
337 <returns>The name claim type.</returns>
339 <member name="M:System.Security.Claims.ClaimsIdentity.RemoveClaim(System.Security.Claims.Claim)">
340 <summary>Attempts to remove a claim from the claims identity.</summary>
341 <param name="claim">The claim to remove.</param>
342 <exception cref="T:System.InvalidOperationException">The claim cannot be removed.</exception>
344 <member name="P:System.Security.Claims.ClaimsIdentity.RoleClaimType">
345 <summary>Gets the claim type that will be interpreted as a .NET Framework role among the claims in this claims identity.</summary>
346 <returns>The role claim type.</returns>
348 <member name="M:System.Security.Claims.ClaimsIdentity.TryRemoveClaim(System.Security.Claims.Claim)">
349 <summary>Attempts to remove a claim from the claims identity.</summary>
350 <param name="claim">The claim to remove.</param>
352 <see langword="true" /> if the claim was successfully removed; otherwise, <see langword="false" />.</returns>
354 <member name="M:System.Security.Claims.ClaimsIdentity.WriteTo(System.IO.BinaryWriter)">
355 <summary>Serializes using a <see cref="T:System.IO.BinaryWriter" />.</summary>
356 <param name="writer">The writer to use for data storage.</param>
357 <exception cref="T:System.ArgumentNullException">
358 <paramref name="writer" /> is <see langword="null" />.</exception>
360 <member name="M:System.Security.Claims.ClaimsIdentity.WriteTo(System.IO.BinaryWriter,System.Byte[])">
361 <summary>Serializes using a <see cref="T:System.IO.BinaryWriter" />.</summary>
362 <param name="writer">The writer to use for data storage.</param>
363 <param name="userData">Additional data provided by the derived type.</param>
364 <exception cref="T:System.ArgumentNullException">
365 <paramref name="writer" /> is <see langword="null" />.</exception>
367 <member name="T:System.Security.Claims.ClaimsPrincipal">
368 <summary>An <see cref="T:System.Security.Principal.IPrincipal" /> implementation that supports multiple claims-based identities.</summary>
370 <member name="M:System.Security.Claims.ClaimsPrincipal.#ctor">
371 <summary>Initializes a new instance of the <see cref="T:System.Security.Claims.ClaimsPrincipal" /> class.</summary>
373 <member name="M:System.Security.Claims.ClaimsPrincipal.#ctor(System.Collections.Generic.IEnumerable{System.Security.Claims.ClaimsIdentity})">
374 <summary>Initializes a new instance of the <see cref="T:System.Security.Claims.ClaimsPrincipal" /> class using the specified claims identities.</summary>
375 <param name="identities">The identities from which to initialize the new claims principal.</param>
376 <exception cref="T:System.ArgumentNullException">
377 <paramref name="identities" /> is null.</exception>
379 <member name="M:System.Security.Claims.ClaimsPrincipal.#ctor(System.IO.BinaryReader)">
380 <summary>Initializes an instance of <see cref="T:System.Security.Claims.ClaimsPrincipal" /> with the specified <see cref="T:System.IO.BinaryReader" />.</summary>
381 <param name="reader">A <see cref="T:System.IO.BinaryReader" /> pointing to a <see cref="T:System.Security.Claims.ClaimsPrincipal" />.</param>
382 <exception cref="T:System.ArgumentNullException">
383 <paramref name="reader" /> is <see langword="null" />.</exception>
385 <member name="M:System.Security.Claims.ClaimsPrincipal.#ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">
386 <summary>Initializes a new instance of the <see cref="T:System.Security.Claims.ClaimsPrincipal" /> class from a serialized stream created by using <see cref="T:System.Runtime.Serialization.ISerializable" />.</summary>
387 <param name="info">The serialized data.</param>
388 <param name="context">The context for serialization.</param>
389 <exception cref="T:System.ArgumentNullException">
390 <paramref name="info" /> is null.</exception>
392 <member name="M:System.Security.Claims.ClaimsPrincipal.#ctor(System.Security.Principal.IIdentity)">
393 <summary>Initializes a new instance of the <see cref="T:System.Security.Claims.ClaimsPrincipal" /> class from the specified identity.</summary>
394 <param name="identity">The identity from which to initialize the new claims principal.</param>
395 <exception cref="T:System.ArgumentNullException">
396 <paramref name="identity" /> is null.</exception>
398 <member name="M:System.Security.Claims.ClaimsPrincipal.#ctor(System.Security.Principal.IPrincipal)">
399 <summary>Initializes a new instance of the <see cref="T:System.Security.Claims.ClaimsPrincipal" /> class from the specified principal.</summary>
400 <param name="principal">The principal from which to initialize the new claims principal.</param>
401 <exception cref="T:System.ArgumentNullException">
402 <paramref name="principal" /> is null.</exception>
404 <member name="M:System.Security.Claims.ClaimsPrincipal.AddIdentities(System.Collections.Generic.IEnumerable{System.Security.Claims.ClaimsIdentity})">
405 <summary>Adds the specified claims identities to this claims principal.</summary>
406 <param name="identities">The claims identities to add.</param>
407 <exception cref="T:System.ArgumentNullException">
408 <paramref name="identities" /> is null.</exception>
410 <member name="M:System.Security.Claims.ClaimsPrincipal.AddIdentity(System.Security.Claims.ClaimsIdentity)">
411 <summary>Adds the specified claims identity to this claims principal.</summary>
412 <param name="identity">The claims identity to add.</param>
413 <exception cref="T:System.ArgumentNullException">
414 <paramref name="identity" /> is null.</exception>
416 <member name="P:System.Security.Claims.ClaimsPrincipal.Claims">
417 <summary>Gets a collection that contains all of the claims from all of the claims identities associated with this claims principal.</summary>
418 <returns>The claims associated with this principal.</returns>
420 <member name="P:System.Security.Claims.ClaimsPrincipal.ClaimsPrincipalSelector">
421 <summary>Gets or sets the delegate used to select the claims principal returned by the <see cref="P:System.Security.Claims.ClaimsPrincipal.Current" /> property.</summary>
422 <returns>The delegate. The default is <see langword="null" />.</returns>
424 <member name="M:System.Security.Claims.ClaimsPrincipal.Clone">
425 <summary>Returns a copy of this instance.</summary>
426 <returns>A new copy of the <see cref="T:System.Security.Claims.ClaimsPrincipal" /> object.</returns>
428 <member name="M:System.Security.Claims.ClaimsPrincipal.CreateClaimsIdentity(System.IO.BinaryReader)">
429 <summary>Creates a new claims identity.</summary>
430 <param name="reader">The binary reader.</param>
431 <returns>The created claims identity.</returns>
432 <exception cref="T:System.ArgumentNullException">
433 <paramref name="reader" /> is <see langword="null" />.</exception>
435 <member name="P:System.Security.Claims.ClaimsPrincipal.Current">
436 <summary>Gets the current claims principal.</summary>
437 <returns>The current claims principal.</returns>
439 <member name="P:System.Security.Claims.ClaimsPrincipal.CustomSerializationData">
440 <summary>Contains any additional data provided by a derived type. Typically set when calling <see cref="M:System.Security.Claims.ClaimsIdentity.WriteTo(System.IO.BinaryWriter,System.Byte[])" />.</summary>
441 <returns>A <see cref="T:System.Byte" /> array representing the additional serialized data.</returns>
443 <member name="M:System.Security.Claims.ClaimsPrincipal.FindAll(System.Predicate{System.Security.Claims.Claim})">
444 <summary>Retrieves all of the claims that are matched by the specified predicate.</summary>
445 <param name="match">The function that performs the matching logic.</param>
446 <returns>The matching claims.</returns>
447 <exception cref="T:System.ArgumentNullException">
448 <paramref name="match" /> is null.</exception>
450 <member name="M:System.Security.Claims.ClaimsPrincipal.FindAll(System.String)">
451 <summary>Retrieves all or the claims that have the specified claim type.</summary>
452 <param name="type">The claim type against which to match claims.</param>
453 <returns>The matching claims.</returns>
454 <exception cref="T:System.ArgumentNullException">
455 <paramref name="type" /> is null.</exception>
457 <member name="M:System.Security.Claims.ClaimsPrincipal.FindFirst(System.Predicate{System.Security.Claims.Claim})">
458 <summary>Retrieves the first claim that is matched by the specified predicate.</summary>
459 <param name="match">The function that performs the matching logic.</param>
460 <returns>The first matching claim or <see langword="null" /> if no match is found.</returns>
461 <exception cref="T:System.ArgumentNullException">
462 <paramref name="match" /> is null.</exception>
464 <member name="M:System.Security.Claims.ClaimsPrincipal.FindFirst(System.String)">
465 <summary>Retrieves the first claim with the specified claim type.</summary>
466 <param name="type">The claim type to match.</param>
467 <returns>The first matching claim or <see langword="null" /> if no match is found.</returns>
468 <exception cref="T:System.ArgumentNullException">
469 <paramref name="type" /> is null.</exception>
471 <member name="M:System.Security.Claims.ClaimsPrincipal.GetObjectData(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">
472 <summary>Populates the <see cref="T:System.Runtime.Serialization.SerializationInfo" /> with data needed to serialize the current <see cref="T:System.Security.Claims.ClaimsPrincipal" /> object.</summary>
473 <param name="info">The object to populate with data.</param>
474 <param name="context">The destination for this serialization. Can be <see langword="null" />.</param>
475 <exception cref="T:System.ArgumentNullException">
476 <paramref name="info" /> is <see langword="null" />.</exception>
478 <member name="M:System.Security.Claims.ClaimsPrincipal.HasClaim(System.Predicate{System.Security.Claims.Claim})">
479 <summary>Determines whether any of the claims identities associated with this claims principal contains a claim that is matched by the specified predicate.</summary>
480 <param name="match">The function that performs the matching logic.</param>
482 <see langword="true" /> if a matching claim exists; otherwise, <see langword="false" />.</returns>
483 <exception cref="T:System.ArgumentNullException">
484 <paramref name="match" /> is null.</exception>
486 <member name="M:System.Security.Claims.ClaimsPrincipal.HasClaim(System.String,System.String)">
487 <summary>Determines whether any of the claims identities associated with this claims principal contains a claim with the specified claim type and value.</summary>
488 <param name="type">The type of the claim to match.</param>
489 <param name="value">The value of the claim to match.</param>
491 <see langword="true" /> if a matching claim exists; otherwise, <see langword="false" />.</returns>
492 <exception cref="T:System.ArgumentNullException">
493 <paramref name="type" /> is null.
495 <paramref name="value" /> is null.</exception>
497 <member name="P:System.Security.Claims.ClaimsPrincipal.Identities">
498 <summary>Gets a collection that contains all of the claims identities associated with this claims principal.</summary>
499 <returns>The collection of claims identities.</returns>
501 <member name="P:System.Security.Claims.ClaimsPrincipal.Identity">
502 <summary>Gets the primary claims identity associated with this claims principal.</summary>
503 <returns>The primary claims identity associated with this claims principal.</returns>
505 <member name="M:System.Security.Claims.ClaimsPrincipal.IsInRole(System.String)">
506 <summary>Returns a value that indicates whether the entity (user) represented by this claims principal is in the specified role.</summary>
507 <param name="role">The role for which to check.</param>
509 <see langword="true" /> if claims principal is in the specified role; otherwise, <see langword="false" />.</returns>
511 <member name="P:System.Security.Claims.ClaimsPrincipal.PrimaryIdentitySelector">
512 <summary>Gets or sets the delegate used to select the claims identity returned by the <see cref="P:System.Security.Claims.ClaimsPrincipal.Identity" /> property.</summary>
513 <returns>The delegate. The default is <see langword="null" />.</returns>
515 <member name="M:System.Security.Claims.ClaimsPrincipal.WriteTo(System.IO.BinaryWriter)">
516 <summary>Serializes using a <see cref="T:System.IO.BinaryWriter" />.</summary>
517 <param name="writer">The writer to use for data storage.</param>
518 <exception cref="T:System.ArgumentNullException">
519 <paramref name="writer" /> is <see langword="null" />.</exception>
521 <member name="M:System.Security.Claims.ClaimsPrincipal.WriteTo(System.IO.BinaryWriter,System.Byte[])">
522 <summary>Serializes using a <see cref="T:System.IO.BinaryWriter" />.</summary>
523 <param name="writer">The writer to use for data storage.</param>
524 <param name="userData">Additional data provided by the derived type.</param>
525 <exception cref="T:System.ArgumentNullException">
526 <paramref name="writer" /> is <see langword="null" />.</exception>
528 <member name="T:System.Security.Claims.ClaimTypes">
529 <summary>Defines constants for the well-known claim types that can be assigned to a subject. This class cannot be inherited.</summary>
531 <member name="F:System.Security.Claims.ClaimTypes.Actor">
532 <summary>The URI for a claim that specifies the actor, <c></c>.</summary>
534 <member name="F:System.Security.Claims.ClaimTypes.Anonymous">
535 <summary>The URI for a claim that specifies the anonymous user; <c></c>.</summary>
537 <member name="F:System.Security.Claims.ClaimTypes.Authentication">
538 <summary>The URI for a claim that specifies details about whether an identity is authenticated, <c></c>.</summary>
540 <member name="F:System.Security.Claims.ClaimTypes.AuthenticationInstant">
541 <summary>The URI for a claim that specifies the instant at which an entity was authenticated; <c></c>.</summary>
543 <member name="F:System.Security.Claims.ClaimTypes.AuthenticationMethod">
544 <summary>The URI for a claim that specifies the method with which an entity was authenticated; <c></c>.</summary>
546 <member name="F:System.Security.Claims.ClaimTypes.AuthorizationDecision">
547 <summary>The URI for a claim that specifies an authorization decision on an entity; <c></c>.</summary>
549 <member name="F:System.Security.Claims.ClaimTypes.CookiePath">
550 <summary>The URI for a claim that specifies the cookie path; <c></c>.</summary>
552 <member name="F:System.Security.Claims.ClaimTypes.Country">
553 <summary>The URI for a claim that specifies the country/region in which an entity resides, <c></c>.</summary>
555 <member name="F:System.Security.Claims.ClaimTypes.DateOfBirth">
556 <summary>The URI for a claim that specifies the date of birth of an entity, <c></c>.</summary>
558 <member name="F:System.Security.Claims.ClaimTypes.DenyOnlyPrimaryGroupSid">
559 <summary>The URI for a claim that specifies the deny-only primary group SID on an entity; <c></c>. A deny-only SID denies the specified entity to a securable object.</summary>
561 <member name="F:System.Security.Claims.ClaimTypes.DenyOnlyPrimarySid">
562 <summary>The URI for a claim that specifies the deny-only primary SID on an entity; <c></c>. A deny-only SID denies the specified entity to a securable object.</summary>
564 <member name="F:System.Security.Claims.ClaimTypes.DenyOnlySid">
565 <summary>The URI for a claim that specifies a deny-only security identifier (SID) for an entity, <c></c>. A deny-only SID denies the specified entity to a securable object.</summary>
567 <member name="F:System.Security.Claims.ClaimTypes.DenyOnlyWindowsDeviceGroup">
568 <summary>The URI for a claim that specifies the Windows deny-only group SID of the device, <c></c>.</summary>
570 <member name="F:System.Security.Claims.ClaimTypes.Dns">
571 <summary>The URI for a claim that specifies the DNS name associated with the computer name or with the alternative name of either the subject or issuer of an X.509 certificate, <c></c>.</summary>
573 <member name="F:System.Security.Claims.ClaimTypes.Dsa">
577 <member name="F:System.Security.Claims.ClaimTypes.Email">
578 <summary>The URI for a claim that specifies the email address of an entity, <c></c>.</summary>
580 <member name="F:System.Security.Claims.ClaimTypes.Expiration">
584 <member name="F:System.Security.Claims.ClaimTypes.Expired">
588 <member name="F:System.Security.Claims.ClaimTypes.Gender">
589 <summary>The URI for a claim that specifies the gender of an entity, <c></c>.</summary>
591 <member name="F:System.Security.Claims.ClaimTypes.GivenName">
592 <summary>The URI for a claim that specifies the given name of an entity, <c></c>.</summary>
594 <member name="F:System.Security.Claims.ClaimTypes.GroupSid">
595 <summary>The URI for a claim that specifies the SID for the group of an entity, <c></c>.</summary>
597 <member name="F:System.Security.Claims.ClaimTypes.Hash">
598 <summary>The URI for a claim that specifies a hash value, <c></c>.</summary>
600 <member name="F:System.Security.Claims.ClaimTypes.HomePhone">
601 <summary>The URI for a claim that specifies the home phone number of an entity, <c></c>.</summary>
603 <member name="F:System.Security.Claims.ClaimTypes.IsPersistent">
607 <member name="F:System.Security.Claims.ClaimTypes.Locality">
608 <summary>The URI for a claim that specifies the locale in which an entity resides, <c></c>.</summary>
610 <member name="F:System.Security.Claims.ClaimTypes.MobilePhone">
611 <summary>The URI for a claim that specifies the mobile phone number of an entity, <c></c>.</summary>
613 <member name="F:System.Security.Claims.ClaimTypes.Name">
614 <summary>The URI for a claim that specifies the name of an entity, <c></c>.</summary>
616 <member name="F:System.Security.Claims.ClaimTypes.NameIdentifier">
617 <summary>The URI for a claim that specifies the name of an entity, <c></c>.</summary>
619 <member name="F:System.Security.Claims.ClaimTypes.OtherPhone">
620 <summary>The URI for a claim that specifies the alternative phone number of an entity, <c></c>.</summary>
622 <member name="F:System.Security.Claims.ClaimTypes.PostalCode">
623 <summary>The URI for a claim that specifies the postal code of an entity, <c></c>.</summary>
625 <member name="F:System.Security.Claims.ClaimTypes.PrimaryGroupSid">
626 <summary>The URI for a claim that specifies the primary group SID of an entity, <c></c>.</summary>
628 <member name="F:System.Security.Claims.ClaimTypes.PrimarySid">
629 <summary>The URI for a claim that specifies the primary SID of an entity, <c></c>.</summary>
631 <member name="F:System.Security.Claims.ClaimTypes.Role">
632 <summary>The URI for a claim that specifies the role of an entity, <c></c>.</summary>
634 <member name="F:System.Security.Claims.ClaimTypes.Rsa">
635 <summary>The URI for a claim that specifies an RSA key, <c></c>.</summary>
637 <member name="F:System.Security.Claims.ClaimTypes.SerialNumber">
638 <summary>The URI for a claim that specifies a serial number, <c></c>.</summary>
640 <member name="F:System.Security.Claims.ClaimTypes.Sid">
641 <summary>The URI for a claim that specifies a security identifier (SID), <c></c>.</summary>
643 <member name="F:System.Security.Claims.ClaimTypes.Spn">
644 <summary>The URI for a claim that specifies a service principal name (SPN) claim, <c></c>.</summary>
646 <member name="F:System.Security.Claims.ClaimTypes.StateOrProvince">
647 <summary>The URI for a claim that specifies the state or province in which an entity resides, <c></c>.</summary>
649 <member name="F:System.Security.Claims.ClaimTypes.StreetAddress">
650 <summary>The URI for a claim that specifies the street address of an entity, <c></c>.</summary>
652 <member name="F:System.Security.Claims.ClaimTypes.Surname">
653 <summary>The URI for a claim that specifies the surname of an entity, <c></c>.</summary>
655 <member name="F:System.Security.Claims.ClaimTypes.System">
656 <summary>The URI for a claim that identifies the system entity, <c></c>.</summary>
658 <member name="F:System.Security.Claims.ClaimTypes.Thumbprint">
659 <summary>The URI for a claim that specifies a thumbprint, <c></c>. A thumbprint is a globally unique SHA-1 hash of an X.509 certificate.</summary>
661 <member name="F:System.Security.Claims.ClaimTypes.Upn">
662 <summary>The URI for a claim that specifies a user principal name (UPN), <c></c>.</summary>
664 <member name="F:System.Security.Claims.ClaimTypes.Uri">
665 <summary>The URI for a claim that specifies a URI, <c></c>.</summary>
667 <member name="F:System.Security.Claims.ClaimTypes.UserData">
668 <summary>The URI for a claim that specifies the user data, <c></c>.</summary>
670 <member name="F:System.Security.Claims.ClaimTypes.Version">
671 <summary>The URI for a claim that specifies the version, <c></c>.</summary>
673 <member name="F:System.Security.Claims.ClaimTypes.Webpage">
674 <summary>The URI for a claim that specifies the webpage of an entity, <c></c>.</summary>
676 <member name="F:System.Security.Claims.ClaimTypes.WindowsAccountName">
677 <summary>The URI for a claim that specifies the Windows domain account name of an entity, <c></c>.</summary>
679 <member name="F:System.Security.Claims.ClaimTypes.WindowsDeviceClaim">
683 <member name="F:System.Security.Claims.ClaimTypes.WindowsDeviceGroup">
684 <summary>The URI for a claim that specifies the Windows group SID of the device, <c></c>.</summary>
686 <member name="F:System.Security.Claims.ClaimTypes.WindowsFqbnVersion">
690 <member name="F:System.Security.Claims.ClaimTypes.WindowsSubAuthority">
694 <member name="F:System.Security.Claims.ClaimTypes.WindowsUserClaim">
698 <member name="F:System.Security.Claims.ClaimTypes.X500DistinguishedName">
699 <summary>The URI for an X.500 distinguished name claim, such as the subject of an X.509 Public Key Certificate or an entry identifier in a directory services Directory Information Tree; <c></c>.</summary>
701 <member name="T:System.Security.Claims.ClaimValueTypes">
702 <summary>Defines claim value types according to the type URIs defined by W3C and OASIS. This class cannot be inherited.</summary>
704 <member name="F:System.Security.Claims.ClaimValueTypes.Base64Binary">
705 <summary>A URI that represents the <see langword="base64Binary" /> XML data type.</summary>
707 <member name="F:System.Security.Claims.ClaimValueTypes.Base64Octet">
708 <summary>A URI that represents the <see langword="base64Octet" /> XML data type.</summary>
710 <member name="F:System.Security.Claims.ClaimValueTypes.Boolean">
711 <summary>A URI that represents the <see langword="boolean" /> XML data type.</summary>
713 <member name="F:System.Security.Claims.ClaimValueTypes.Date">
714 <summary>A URI that represents the <see langword="date" /> XML data type.</summary>
716 <member name="F:System.Security.Claims.ClaimValueTypes.DateTime">
717 <summary>A URI that represents the <see langword="dateTime" /> XML data type.</summary>
719 <member name="F:System.Security.Claims.ClaimValueTypes.DaytimeDuration">
720 <summary>A URI that represents the <see langword="daytimeDuration" /> XQuery data type.</summary>
722 <member name="F:System.Security.Claims.ClaimValueTypes.DnsName">
723 <summary>A URI that represents the <see langword="dns" /> SOAP data type.</summary>
725 <member name="F:System.Security.Claims.ClaimValueTypes.Double">
726 <summary>A URI that represents the <see langword="double" /> XML data type.</summary>
728 <member name="F:System.Security.Claims.ClaimValueTypes.DsaKeyValue">
729 <summary>A URI that represents the <see langword="DSAKeyValue" /> XML Signature data type.</summary>
731 <member name="F:System.Security.Claims.ClaimValueTypes.Email">
732 <summary>A URI that represents the <see langword="emailaddress" /> SOAP data type.</summary>
734 <member name="F:System.Security.Claims.ClaimValueTypes.Fqbn">
735 <summary>A URI that represents the <see langword="fqbn" /> XML data type.</summary>
737 <member name="F:System.Security.Claims.ClaimValueTypes.HexBinary">
738 <summary>A URI that represents the <see langword="hexBinary" /> XML data type.</summary>
740 <member name="F:System.Security.Claims.ClaimValueTypes.Integer">
741 <summary>A URI that represents the <see langword="integer" /> XML data type.</summary>
743 <member name="F:System.Security.Claims.ClaimValueTypes.Integer32">
744 <summary>A URI that represents the <see langword="integer32" /> XML data type.</summary>
746 <member name="F:System.Security.Claims.ClaimValueTypes.Integer64">
747 <summary>A URI that represents the <see langword="integer64" /> XML data type.</summary>
749 <member name="F:System.Security.Claims.ClaimValueTypes.KeyInfo">
750 <summary>A URI that represents the <see langword="KeyInfo" /> XML Signature data type.</summary>
752 <member name="F:System.Security.Claims.ClaimValueTypes.Rfc822Name">
753 <summary>A URI that represents the <see langword="rfc822Name" /> XACML 1.0 data type.</summary>
755 <member name="F:System.Security.Claims.ClaimValueTypes.Rsa">
756 <summary>A URI that represents the <see langword="rsa" /> SOAP data type.</summary>
758 <member name="F:System.Security.Claims.ClaimValueTypes.RsaKeyValue">
759 <summary>A URI that represents the <see langword="RSAKeyValue" /> XML Signature data type.</summary>
761 <member name="F:System.Security.Claims.ClaimValueTypes.Sid">
762 <summary>A URI that represents the <see langword="sid" /> XML data type.</summary>
764 <member name="F:System.Security.Claims.ClaimValueTypes.String">
765 <summary>A URI that represents the <see langword="string" /> XML data type.</summary>
767 <member name="F:System.Security.Claims.ClaimValueTypes.Time">
768 <summary>A URI that represents the <see langword="time" /> XML data type.</summary>
770 <member name="F:System.Security.Claims.ClaimValueTypes.UInteger32">
771 <summary>A URI that represents the <see langword="uinteger32" /> XML data type.</summary>
773 <member name="F:System.Security.Claims.ClaimValueTypes.UInteger64">
774 <summary>A URI that represents the <see langword="uinteger64" /> XML data type.</summary>
776 <member name="F:System.Security.Claims.ClaimValueTypes.UpnName">
777 <summary>A URI that represents the <see langword="UPN" /> SOAP data type.</summary>
779 <member name="F:System.Security.Claims.ClaimValueTypes.X500Name">
780 <summary>A URI that represents the <see langword="x500Name" /> XACML 1.0 data type.</summary>
782 <member name="F:System.Security.Claims.ClaimValueTypes.YearMonthDuration">
783 <summary>A URI that represents the <see langword="yearMonthDuration" /> XQuery data type.</summary>
785 <member name="T:System.Security.Principal.GenericIdentity">
786 <summary>Represents a generic user.</summary>
788 <member name="M:System.Security.Principal.GenericIdentity.#ctor(System.Security.Principal.GenericIdentity)">
789 <summary>Initializes a new instance of the <see cref="T:System.Security.Principal.GenericIdentity" /> class by using the specified <see cref="T:System.Security.Principal.GenericIdentity" /> object.</summary>
790 <param name="identity">The object from which to construct the new instance of <see cref="T:System.Security.Principal.GenericIdentity" />.</param>
792 <member name="M:System.Security.Principal.GenericIdentity.#ctor(System.String)">
793 <summary>Initializes a new instance of the <see cref="T:System.Security.Principal.GenericIdentity" /> class representing the user with the specified name.</summary>
794 <param name="name">The name of the user on whose behalf the code is running.</param>
795 <exception cref="T:System.ArgumentNullException">The <paramref name="name" /> parameter is <see langword="null" />.</exception>
797 <member name="M:System.Security.Principal.GenericIdentity.#ctor(System.String,System.String)">
798 <summary>Initializes a new instance of the <see cref="T:System.Security.Principal.GenericIdentity" /> class representing the user with the specified name and authentication type.</summary>
799 <param name="name">The name of the user on whose behalf the code is running.</param>
800 <param name="type">The type of authentication used to identify the user.</param>
801 <exception cref="T:System.ArgumentNullException">The <paramref name="name" /> parameter is <see langword="null" />.
803 The <paramref name="type" /> parameter is <see langword="null" />.</exception>
805 <member name="P:System.Security.Principal.GenericIdentity.AuthenticationType">
806 <summary>Gets the type of authentication used to identify the user.</summary>
807 <returns>The type of authentication used to identify the user.</returns>
809 <member name="P:System.Security.Principal.GenericIdentity.Claims">
810 <summary>Gets all claims for the user represented by this generic identity.</summary>
811 <returns>A collection of claims for this <see cref="T:System.Security.Principal.GenericIdentity" /> object.</returns>
813 <member name="M:System.Security.Principal.GenericIdentity.Clone">
814 <summary>Creates a new object that is a copy of the current instance.</summary>
815 <returns>A copy of the current instance.</returns>
817 <member name="P:System.Security.Principal.GenericIdentity.IsAuthenticated">
818 <summary>Gets a value indicating whether the user has been authenticated.</summary>
820 <see langword="true" /> if the user was has been authenticated; otherwise, <see langword="false" />.</returns>
822 <member name="P:System.Security.Principal.GenericIdentity.Name">
823 <summary>Gets the user's name.</summary>
824 <returns>The name of the user on whose behalf the code is being run.</returns>
826 <member name="T:System.Security.Principal.GenericPrincipal">
827 <summary>Represents a generic principal.</summary>
829 <member name="M:System.Security.Principal.GenericPrincipal.#ctor(System.Security.Principal.IIdentity,System.String[])">
830 <summary>Initializes a new instance of the <see cref="T:System.Security.Principal.GenericPrincipal" /> class from a user identity and an array of role names to which the user represented by that identity belongs.</summary>
831 <param name="identity">A basic implementation of <see cref="T:System.Security.Principal.IIdentity" /> that represents any user.</param>
832 <param name="roles">An array of role names to which the user represented by the <paramref name="identity" /> parameter belongs.</param>
833 <exception cref="T:System.ArgumentNullException">The <paramref name="identity" /> parameter is <see langword="null" />.</exception>
835 <member name="P:System.Security.Principal.GenericPrincipal.Identity">
836 <summary>Gets the <see cref="T:System.Security.Principal.GenericIdentity" /> of the user represented by the current <see cref="T:System.Security.Principal.GenericPrincipal" />.</summary>
837 <returns>The <see cref="T:System.Security.Principal.GenericIdentity" /> of the user represented by the <see cref="T:System.Security.Principal.GenericPrincipal" />.</returns>
839 <member name="M:System.Security.Principal.GenericPrincipal.IsInRole(System.String)">
840 <summary>Determines whether the current <see cref="T:System.Security.Principal.GenericPrincipal" /> belongs to the specified role.</summary>
841 <param name="role">The name of the role for which to check membership.</param>
843 <see langword="true" /> if the current <see cref="T:System.Security.Principal.GenericPrincipal" /> is a member of the specified role; otherwise, <see langword="false" />.</returns>