System.Security.Claims.xml 51 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <doc>
  3. <assembly>
  4. <name>System.Security.Claims</name>
  5. </assembly>
  6. <members>
  7. <member name="T:System.Security.Claims.Claim">
  8. <summary>Represents a claim.</summary>
  9. </member>
  10. <member name="M:System.Security.Claims.Claim.#ctor(System.IO.BinaryReader)"></member>
  11. <member name="M:System.Security.Claims.Claim.#ctor(System.IO.BinaryReader,System.Security.Claims.ClaimsIdentity)"></member>
  12. <member name="M:System.Security.Claims.Claim.#ctor(System.Security.Claims.Claim)"></member>
  13. <member name="M:System.Security.Claims.Claim.#ctor(System.Security.Claims.Claim,System.Security.Claims.ClaimsIdentity)"></member>
  14. <member name="M:System.Security.Claims.Claim.#ctor(System.String,System.String)">
  15. <summary>Initializes a new instance of the <see cref="T:System.Security.Claims.Claim" /> class with the specified claim type, and value.</summary>
  16. <param name="type">The claim type.</param>
  17. <param name="value">The claim value.</param>
  18. <exception cref="T:System.ArgumentNullException">
  19. <paramref name="type" /> or <paramref name="value" /> is null.</exception>
  20. </member>
  21. <member name="M:System.Security.Claims.Claim.#ctor(System.String,System.String,System.String)">
  22. <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>
  23. <param name="type">The claim type.</param>
  24. <param name="value">The claim value.</param>
  25. <param name="valueType">The claim value type. If this parameter is null, then <see cref="F:System.Security.Claims.ClaimValueTypes.String" /> is used.</param>
  26. <exception cref="T:System.ArgumentNullException">
  27. <paramref name="type" /> or <paramref name="value" /> is null.</exception>
  28. </member>
  29. <member name="M:System.Security.Claims.Claim.#ctor(System.String,System.String,System.String,System.String)">
  30. <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>
  31. <param name="type">The claim type.</param>
  32. <param name="value">The claim value.</param>
  33. <param name="valueType">The claim value type. If this parameter is null, then <see cref="F:System.Security.Claims.ClaimValueTypes.String" /> is used.</param>
  34. <param name="issuer">The claim issuer. If this parameter is empty or null, then <see cref="F:System.Security.Claims.ClaimsIdentity.DefaultIssuer" /> is used.</param>
  35. <exception cref="T:System.ArgumentNullException">
  36. <paramref name="type" /> or <paramref name="value" /> is null.</exception>
  37. </member>
  38. <member name="M:System.Security.Claims.Claim.#ctor(System.String,System.String,System.String,System.String,System.String)">
  39. <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>
  40. <param name="type">The claim type.</param>
  41. <param name="value">The claim value.</param>
  42. <param name="valueType">The claim value type. If this parameter is null, then <see cref="F:System.Security.Claims.ClaimValueTypes.String" /> is used.</param>
  43. <param name="issuer">The claim issuer. If this parameter is empty or null, then <see cref="F:System.Security.Claims.ClaimsIdentity.DefaultIssuer" /> is used.</param>
  44. <param name="originalIssuer">The original issuer of the claim. If this parameter is empty or 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>
  45. <exception cref="T:System.ArgumentNullException">
  46. <paramref name="type" /> or <paramref name="value" /> is null.</exception>
  47. </member>
  48. <member name="M:System.Security.Claims.Claim.#ctor(System.String,System.String,System.String,System.String,System.String,System.Security.Claims.ClaimsIdentity)">
  49. <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>
  50. <param name="type">The claim type.</param>
  51. <param name="value">The claim value.</param>
  52. <param name="valueType">The claim value type. If this parameter is null, then <see cref="F:System.Security.Claims.ClaimValueTypes.String" /> is used.</param>
  53. <param name="issuer">The claim issuer. If this parameter is empty or null, then <see cref="F:System.Security.Claims.ClaimsIdentity.DefaultIssuer" /> is used.</param>
  54. <param name="originalIssuer">The original issuer of the claim. If this parameter is empty or 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>
  55. <param name="subject">The subject that this claim describes.</param>
  56. <exception cref="T:System.ArgumentNullException">
  57. <paramref name="type" /> or <paramref name="value" /> is null.</exception>
  58. </member>
  59. <member name="M:System.Security.Claims.Claim.Clone">
  60. <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>
  61. <returns>The new claim object.</returns>
  62. </member>
  63. <member name="M:System.Security.Claims.Claim.Clone(System.Security.Claims.ClaimsIdentity)">
  64. <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>
  65. <returns>The new claim object.</returns>
  66. <param name="identity">The intended subject of the new claim.</param>
  67. </member>
  68. <member name="P:System.Security.Claims.Claim.CustomSerializationData"></member>
  69. <member name="P:System.Security.Claims.Claim.Issuer">
  70. <summary>Gets the issuer of the claim.</summary>
  71. <returns>A name that refers to the issuer of the claim.</returns>
  72. </member>
  73. <member name="P:System.Security.Claims.Claim.OriginalIssuer">
  74. <summary>Gets the original issuer of the claim. </summary>
  75. <returns>A name that refers to the original issuer of the claim.</returns>
  76. </member>
  77. <member name="P:System.Security.Claims.Claim.Properties">
  78. <summary>Gets a dictionary that contains additional properties associated with this claim.</summary>
  79. <returns>A dictionary that contains additional properties associated with the claim. The properties are represented as name-value pairs.</returns>
  80. </member>
  81. <member name="P:System.Security.Claims.Claim.Subject">
  82. <summary>Gets the subject of the claim.</summary>
  83. <returns>The subject of the claim.</returns>
  84. </member>
  85. <member name="M:System.Security.Claims.Claim.ToString">
  86. <summary>Returns a string representation of this <see cref="T:System.Security.Claims.Claim" /> object.</summary>
  87. <returns>The string representation of this <see cref="T:System.Security.Claims.Claim" /> object.</returns>
  88. </member>
  89. <member name="P:System.Security.Claims.Claim.Type">
  90. <summary>Gets the claim type of the claim.</summary>
  91. <returns>The claim type.</returns>
  92. </member>
  93. <member name="P:System.Security.Claims.Claim.Value">
  94. <summary>Gets the value of the claim.</summary>
  95. <returns>The claim value.</returns>
  96. </member>
  97. <member name="P:System.Security.Claims.Claim.ValueType">
  98. <summary>Gets the value type of the claim.</summary>
  99. <returns>The claim value type.</returns>
  100. </member>
  101. <member name="M:System.Security.Claims.Claim.WriteTo(System.IO.BinaryWriter)"></member>
  102. <member name="M:System.Security.Claims.Claim.WriteTo(System.IO.BinaryWriter,System.Byte[])"></member>
  103. <member name="T:System.Security.Claims.ClaimsIdentity">
  104. <summary>Represents a claims-based identity.</summary>
  105. </member>
  106. <member name="M:System.Security.Claims.ClaimsIdentity.#ctor">
  107. <summary>Initializes a new instance of the <see cref="T:System.Security.Claims.ClaimsIdentity" /> class with an empty claims collection.</summary>
  108. </member>
  109. <member name="M:System.Security.Claims.ClaimsIdentity.#ctor(System.Collections.Generic.IEnumerable{System.Security.Claims.Claim})">
  110. <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>
  111. <param name="claims">The claims with which to populate the claims identity.</param>
  112. </member>
  113. <member name="M:System.Security.Claims.ClaimsIdentity.#ctor(System.Collections.Generic.IEnumerable{System.Security.Claims.Claim},System.String)">
  114. <summary>Initializes a new instance of the <see cref="T:System.Security.Claims.ClaimsIdentity" /> class with the specified claims and authentication type.</summary>
  115. <param name="claims">The claims with which to populate the claims identity.</param>
  116. <param name="authenticationType">The type of authentication used.</param>
  117. </member>
  118. <member name="M:System.Security.Claims.ClaimsIdentity.#ctor(System.Collections.Generic.IEnumerable{System.Security.Claims.Claim},System.String,System.String,System.String)">
  119. <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>
  120. <param name="claims">The claims with which to populate the claims identity.</param>
  121. <param name="authenticationType">The type of authentication used.</param>
  122. <param name="nameType">The claim type to use for name claims.</param>
  123. <param name="roleType">The claim type to use for role claims.</param>
  124. </member>
  125. <member name="M:System.Security.Claims.ClaimsIdentity.#ctor(System.IO.BinaryReader)"></member>
  126. <member name="M:System.Security.Claims.ClaimsIdentity.#ctor(System.Security.Claims.ClaimsIdentity)"></member>
  127. <member name="M:System.Security.Claims.ClaimsIdentity.#ctor(System.Security.Principal.IIdentity)">
  128. <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>
  129. <param name="identity">The identity from which to base the new claims identity.</param>
  130. </member>
  131. <member name="M:System.Security.Claims.ClaimsIdentity.#ctor(System.Security.Principal.IIdentity,System.Collections.Generic.IEnumerable{System.Security.Claims.Claim})">
  132. <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>
  133. <param name="identity">The identity from which to base the new claims identity.</param>
  134. <param name="claims">The claims with which to populate the claims identity.</param>
  135. </member>
  136. <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)">
  137. <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>
  138. <param name="identity">The identity from which to base the new claims identity.</param>
  139. <param name="claims">The claims with which to populate the new claims identity.</param>
  140. <param name="authenticationType">The type of authentication used.</param>
  141. <param name="nameType">The claim type to use for name claims.</param>
  142. <param name="roleType">The claim type to use for role claims.</param>
  143. </member>
  144. <member name="M:System.Security.Claims.ClaimsIdentity.#ctor(System.String)">
  145. <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>
  146. <param name="authenticationType">The type of authentication used.</param>
  147. </member>
  148. <member name="M:System.Security.Claims.ClaimsIdentity.#ctor(System.String,System.String,System.String)">
  149. <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>
  150. <param name="authenticationType">The type of authentication used.</param>
  151. <param name="nameType">The claim type to use for name claims.</param>
  152. <param name="roleType">The claim type to use for role claims.</param>
  153. </member>
  154. <member name="P:System.Security.Claims.ClaimsIdentity.Actor">
  155. <summary>Gets or sets the identity of the calling party that was granted delegation rights.</summary>
  156. <returns>The calling party that was granted delegation rights.</returns>
  157. <exception cref="T:System.InvalidOperationException">An attempt to set the property to the current instance occurs.</exception>
  158. </member>
  159. <member name="M:System.Security.Claims.ClaimsIdentity.AddClaim(System.Security.Claims.Claim)">
  160. <summary>Adds a single claim to this claims identity.</summary>
  161. <param name="claim">The claim to add.</param>
  162. <exception cref="T:System.ArgumentNullException">
  163. <paramref name="claim" /> is null.</exception>
  164. </member>
  165. <member name="M:System.Security.Claims.ClaimsIdentity.AddClaims(System.Collections.Generic.IEnumerable{System.Security.Claims.Claim})">
  166. <summary>Adds a list of claims to this claims identity.</summary>
  167. <param name="claims">The claims to add.</param>
  168. <exception cref="T:System.ArgumentNullException">
  169. <paramref name="claims" /> is null.</exception>
  170. </member>
  171. <member name="P:System.Security.Claims.ClaimsIdentity.AuthenticationType">
  172. <summary>Gets the authentication type.</summary>
  173. <returns>The authentication type.</returns>
  174. </member>
  175. <member name="P:System.Security.Claims.ClaimsIdentity.BootstrapContext">
  176. <summary>Gets or sets the token that was used to create this claims identity.</summary>
  177. <returns>The bootstrap context.</returns>
  178. </member>
  179. <member name="P:System.Security.Claims.ClaimsIdentity.Claims">
  180. <summary>Gets the claims associated with this claims identity.</summary>
  181. <returns>The collection of claims associated with this claims identity.</returns>
  182. </member>
  183. <member name="M:System.Security.Claims.ClaimsIdentity.Clone">
  184. <summary>Returns a new <see cref="T:System.Security.Claims.ClaimsIdentity" /> copied from this claims identity.</summary>
  185. <returns>A copy of the current instance.</returns>
  186. </member>
  187. <member name="M:System.Security.Claims.ClaimsIdentity.CreateClaim(System.IO.BinaryReader)"></member>
  188. <member name="P:System.Security.Claims.ClaimsIdentity.CustomSerializationData"></member>
  189. <member name="F:System.Security.Claims.ClaimsIdentity.DefaultIssuer">
  190. <summary>The default issuer; “LOCAL AUTHORITY”.</summary>
  191. </member>
  192. <member name="F:System.Security.Claims.ClaimsIdentity.DefaultNameClaimType">
  193. <summary>The default name claim type; <see cref="F:System.Security.Claims.ClaimTypes.Name" />.</summary>
  194. </member>
  195. <member name="F:System.Security.Claims.ClaimsIdentity.DefaultRoleClaimType">
  196. <summary>The default role claim type; <see cref="F:System.Security.Claims.ClaimTypes.Role" />.</summary>
  197. </member>
  198. <member name="M:System.Security.Claims.ClaimsIdentity.FindAll(System.Predicate{System.Security.Claims.Claim})">
  199. <summary>Retrieves all of the claims that are matched by the specified predicate.</summary>
  200. <returns>The matching claims. The list is read-only.</returns>
  201. <param name="match">The function that performs the matching logic.</param>
  202. <exception cref="T:System.ArgumentNullException">
  203. <paramref name="match" /> is null.</exception>
  204. </member>
  205. <member name="M:System.Security.Claims.ClaimsIdentity.FindAll(System.String)">
  206. <summary>Retrieves all of the claims that have the specified claim type.</summary>
  207. <returns>The matching claims. The list is read-only.</returns>
  208. <param name="type">The claim type against which to match claims.</param>
  209. <exception cref="T:System.ArgumentNullException">
  210. <paramref name="type" /> is null.</exception>
  211. </member>
  212. <member name="M:System.Security.Claims.ClaimsIdentity.FindFirst(System.Predicate{System.Security.Claims.Claim})">
  213. <summary>Retrieves the first claim that is matched by the specified predicate.</summary>
  214. <returns>The first matching claim or null if no match is found.</returns>
  215. <param name="match">The function that performs the matching logic.</param>
  216. <exception cref="T:System.ArgumentNullException">
  217. <paramref name="match" /> is null.</exception>
  218. </member>
  219. <member name="M:System.Security.Claims.ClaimsIdentity.FindFirst(System.String)">
  220. <summary>Retrieves the first claim with the specified claim type.</summary>
  221. <returns>The first matching claim or null if no match is found.</returns>
  222. <param name="type">The claim type to match.</param>
  223. <exception cref="T:System.ArgumentNullException">
  224. <paramref name="type" /> is null.</exception>
  225. </member>
  226. <member name="M:System.Security.Claims.ClaimsIdentity.HasClaim(System.Predicate{System.Security.Claims.Claim})">
  227. <summary>Determines whether this claims identity has a claim that is matched by the specified predicate.</summary>
  228. <returns>true if a matching claim exists; otherwise, false.</returns>
  229. <param name="match">The function that performs the matching logic.</param>
  230. <exception cref="T:System.ArgumentNullException">
  231. <paramref name="match" /> is null.</exception>
  232. </member>
  233. <member name="M:System.Security.Claims.ClaimsIdentity.HasClaim(System.String,System.String)">
  234. <summary>Determines whether this claims identity has a claim with the specified claim type and value.</summary>
  235. <returns>true if a match is found; otherwise, false.</returns>
  236. <param name="type">The type of the claim to match.</param>
  237. <param name="value">The value of the claim to match.</param>
  238. <exception cref="T:System.ArgumentNullException">
  239. <paramref name="type" /> is null.-or-<paramref name="value" /> is null.</exception>
  240. </member>
  241. <member name="P:System.Security.Claims.ClaimsIdentity.IsAuthenticated">
  242. <summary>Gets a value that indicates whether the identity has been authenticated.</summary>
  243. <returns>true if the identity has been authenticated; otherwise, false.</returns>
  244. </member>
  245. <member name="P:System.Security.Claims.ClaimsIdentity.Label">
  246. <summary>Gets or sets the label for this claims identity.</summary>
  247. <returns>The label.</returns>
  248. </member>
  249. <member name="P:System.Security.Claims.ClaimsIdentity.Name">
  250. <summary>Gets the name of this claims identity.</summary>
  251. <returns>The name or null.</returns>
  252. </member>
  253. <member name="P:System.Security.Claims.ClaimsIdentity.NameClaimType">
  254. <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>
  255. <returns>The name claim type.</returns>
  256. </member>
  257. <member name="M:System.Security.Claims.ClaimsIdentity.RemoveClaim(System.Security.Claims.Claim)">
  258. <summary>Attempts to remove a claim from the claims identity.</summary>
  259. <param name="claim">The claim to remove.</param>
  260. <exception cref="T:System.InvalidOperationException">The claim cannot be removed.</exception>
  261. </member>
  262. <member name="P:System.Security.Claims.ClaimsIdentity.RoleClaimType">
  263. <summary>Gets the claim type that will be interpreted as a .NET Framework role among the claims in this claims identity.</summary>
  264. <returns>The role claim type.</returns>
  265. </member>
  266. <member name="M:System.Security.Claims.ClaimsIdentity.TryRemoveClaim(System.Security.Claims.Claim)">
  267. <summary>Attempts to remove a claim from the claims identity.</summary>
  268. <returns>true if the claim was successfully removed; otherwise, false.</returns>
  269. <param name="claim">The claim to remove.</param>
  270. </member>
  271. <member name="M:System.Security.Claims.ClaimsIdentity.WriteTo(System.IO.BinaryWriter)"></member>
  272. <member name="M:System.Security.Claims.ClaimsIdentity.WriteTo(System.IO.BinaryWriter,System.Byte[])"></member>
  273. <member name="T:System.Security.Claims.ClaimsPrincipal">
  274. <summary>An <see cref="T:System.Security.Principal.IPrincipal" /> implementation that supports multiple claims-based identities.</summary>
  275. </member>
  276. <member name="M:System.Security.Claims.ClaimsPrincipal.#ctor">
  277. <summary>Initializes a new instance of the <see cref="T:System.Security.Claims.ClaimsPrincipal" /> class.</summary>
  278. </member>
  279. <member name="M:System.Security.Claims.ClaimsPrincipal.#ctor(System.Collections.Generic.IEnumerable{System.Security.Claims.ClaimsIdentity})">
  280. <summary>Initializes a new instance of the <see cref="T:System.Security.Claims.ClaimsPrincipal" /> class using the specified claims identities.</summary>
  281. <param name="identities">The identities from which to initialize the new claims principal.</param>
  282. <exception cref="T:System.ArgumentNullException">
  283. <paramref name="identities" /> is null.</exception>
  284. </member>
  285. <member name="M:System.Security.Claims.ClaimsPrincipal.#ctor(System.IO.BinaryReader)"></member>
  286. <member name="M:System.Security.Claims.ClaimsPrincipal.#ctor(System.Security.Principal.IIdentity)">
  287. <summary>Initializes a new instance of the <see cref="T:System.Security.Claims.ClaimsPrincipal" /> class from the specified identity.</summary>
  288. <param name="identity">The identity from which to initialize the new claims principal.</param>
  289. <exception cref="T:System.ArgumentNullException">
  290. <paramref name="identity" /> is null.</exception>
  291. </member>
  292. <member name="M:System.Security.Claims.ClaimsPrincipal.#ctor(System.Security.Principal.IPrincipal)">
  293. <summary>Initializes a new instance of the <see cref="T:System.Security.Claims.ClaimsPrincipal" /> class from the specified principal.</summary>
  294. <param name="principal">The principal from which to initialize the new claims principal.</param>
  295. <exception cref="T:System.ArgumentNullException">
  296. <paramref name="principal" /> is null.</exception>
  297. </member>
  298. <member name="M:System.Security.Claims.ClaimsPrincipal.AddIdentities(System.Collections.Generic.IEnumerable{System.Security.Claims.ClaimsIdentity})">
  299. <summary>Adds the specified claims identities to this claims principal.</summary>
  300. <param name="identities">The claims identities to add.</param>
  301. <exception cref="T:System.ArgumentNullException">
  302. <paramref name="identities" /> is null.</exception>
  303. </member>
  304. <member name="M:System.Security.Claims.ClaimsPrincipal.AddIdentity(System.Security.Claims.ClaimsIdentity)">
  305. <summary>Adds the specified claims identity to this claims principal.</summary>
  306. <param name="identity">The claims identity to add.</param>
  307. <exception cref="T:System.ArgumentNullException">
  308. <paramref name="identity" /> is null.</exception>
  309. </member>
  310. <member name="P:System.Security.Claims.ClaimsPrincipal.Claims">
  311. <summary>Gets a collection that contains all of the claims from all of the claims identities associated with this claims principal.</summary>
  312. <returns>The claims associated with this principal.</returns>
  313. </member>
  314. <member name="P:System.Security.Claims.ClaimsPrincipal.ClaimsPrincipalSelector">
  315. <summary>Gets and sets the delegate used to select the claims principal returned by the <see cref="P:System.Security.Claims.ClaimsPrincipal.Current" /> property.</summary>
  316. <returns>The delegate. The default is null.</returns>
  317. </member>
  318. <member name="M:System.Security.Claims.ClaimsPrincipal.Clone"></member>
  319. <member name="M:System.Security.Claims.ClaimsPrincipal.CreateClaimsIdentity(System.IO.BinaryReader)"></member>
  320. <member name="P:System.Security.Claims.ClaimsPrincipal.Current">
  321. <summary>Gets the current claims principal.</summary>
  322. <returns>The current claims principal.</returns>
  323. </member>
  324. <member name="P:System.Security.Claims.ClaimsPrincipal.CustomSerializationData"></member>
  325. <member name="M:System.Security.Claims.ClaimsPrincipal.FindAll(System.Predicate{System.Security.Claims.Claim})">
  326. <summary>Retrieves all of the claims that are matched by the specified predicate.</summary>
  327. <returns>The matching claims.</returns>
  328. <param name="match">The function that performs the matching logic.</param>
  329. <exception cref="T:System.ArgumentNullException">
  330. <paramref name="match" /> is null.</exception>
  331. </member>
  332. <member name="M:System.Security.Claims.ClaimsPrincipal.FindAll(System.String)">
  333. <summary>Retrieves all or the claims that have the specified claim type.</summary>
  334. <returns>The matching claims.</returns>
  335. <param name="type">The claim type against which to match claims.</param>
  336. <exception cref="T:System.ArgumentNullException">
  337. <paramref name="type" /> is null.</exception>
  338. </member>
  339. <member name="M:System.Security.Claims.ClaimsPrincipal.FindFirst(System.Predicate{System.Security.Claims.Claim})">
  340. <summary>Retrieves the first claim that is matched by the specified predicate.</summary>
  341. <returns>The first matching claim or null if no match is found.</returns>
  342. <param name="match">The function that performs the matching logic.</param>
  343. <exception cref="T:System.ArgumentNullException">
  344. <paramref name="match" /> is null.</exception>
  345. </member>
  346. <member name="M:System.Security.Claims.ClaimsPrincipal.FindFirst(System.String)">
  347. <summary>Retrieves the first claim with the specified claim type.</summary>
  348. <returns>The first matching claim or null if no match is found.</returns>
  349. <param name="type">The claim type to match.</param>
  350. <exception cref="T:System.ArgumentNullException">
  351. <paramref name="type" /> is null.</exception>
  352. </member>
  353. <member name="M:System.Security.Claims.ClaimsPrincipal.HasClaim(System.Predicate{System.Security.Claims.Claim})">
  354. <summary>Determines whether any of the claims identities associated with this claims principal contains a claim that is matched by the specified predicate.</summary>
  355. <returns>true if a matching claim exists; otherwise, false.</returns>
  356. <param name="match">The function that performs the matching logic.</param>
  357. <exception cref="T:System.ArgumentNullException">
  358. <paramref name="match" /> is null.</exception>
  359. </member>
  360. <member name="M:System.Security.Claims.ClaimsPrincipal.HasClaim(System.String,System.String)">
  361. <summary>Determines whether any of the claims identities associated with this claims principal contains a claim with the specified claim type and value.</summary>
  362. <returns>true if a matching claim exists; otherwise, false.</returns>
  363. <param name="type">The type of the claim to match.</param>
  364. <param name="value">The value of the claim to match.</param>
  365. <exception cref="T:System.ArgumentNullException">
  366. <paramref name="type" /> is null.-or-<paramref name="value" /> is null.</exception>
  367. </member>
  368. <member name="P:System.Security.Claims.ClaimsPrincipal.Identities">
  369. <summary>Gets a collection that contains all of the claims identities associated with this claims principal.</summary>
  370. <returns>The collection of claims identities.</returns>
  371. </member>
  372. <member name="P:System.Security.Claims.ClaimsPrincipal.Identity">
  373. <summary>Gets the primary claims identity associated with this claims principal.</summary>
  374. <returns>The primary claims identity associated with this claims principal.</returns>
  375. </member>
  376. <member name="M:System.Security.Claims.ClaimsPrincipal.IsInRole(System.String)">
  377. <summary>Returns a value that indicates whether the entity (user) represented by this claims principal is in the specified role.</summary>
  378. <returns>true if claims principal is in the specified role; otherwise, false.</returns>
  379. <param name="role">The role for which to check.</param>
  380. </member>
  381. <member name="P:System.Security.Claims.ClaimsPrincipal.PrimaryIdentitySelector">
  382. <summary>Gets and sets the delegate used to select the claims identity returned by the <see cref="P:System.Security.Claims.ClaimsPrincipal.Identity" /> property.</summary>
  383. <returns>The delegate. The default is null.</returns>
  384. </member>
  385. <member name="M:System.Security.Claims.ClaimsPrincipal.WriteTo(System.IO.BinaryWriter)"></member>
  386. <member name="M:System.Security.Claims.ClaimsPrincipal.WriteTo(System.IO.BinaryWriter,System.Byte[])"></member>
  387. <member name="T:System.Security.Claims.ClaimTypes">
  388. <summary>Defines constants for the well-known claim types that can be assigned to a subject. This class cannot be inherited.</summary>
  389. </member>
  390. <member name="F:System.Security.Claims.ClaimTypes.Actor">
  391. <summary>http://schemas.xmlsoap.org/ws/2009/09/identity/claims/actor.</summary>
  392. </member>
  393. <member name="F:System.Security.Claims.ClaimTypes.Anonymous">
  394. <summary>The URI for a claim that specifies the anonymous user; http://schemas.xmlsoap.org/ws/2005/05/identity/claims/anonymous.</summary>
  395. </member>
  396. <member name="F:System.Security.Claims.ClaimTypes.Authentication">
  397. <summary>The URI for a claim that specifies details about whether an identity is authenticated, http://schemas.xmlsoap.org/ws/2005/05/identity/claims/authenticated.</summary>
  398. </member>
  399. <member name="F:System.Security.Claims.ClaimTypes.AuthenticationInstant">
  400. <summary>The URI for a claim that specifies the instant at which an entity was authenticated; http://schemas.microsoft.com/ws/2008/06/identity/claims/authenticationinstant.</summary>
  401. </member>
  402. <member name="F:System.Security.Claims.ClaimTypes.AuthenticationMethod">
  403. <summary>The URI for a claim that specifies the method with which an entity was authenticated; http://schemas.microsoft.com/ws/2008/06/identity/claims/authenticationmethod.</summary>
  404. </member>
  405. <member name="F:System.Security.Claims.ClaimTypes.AuthorizationDecision">
  406. <summary>The URI for a claim that specifies an authorization decision on an entity; http://schemas.xmlsoap.org/ws/2005/05/identity/claims/authorizationdecision.</summary>
  407. </member>
  408. <member name="F:System.Security.Claims.ClaimTypes.CookiePath">
  409. <summary>The URI for a claim that specifies the cookie path; http://schemas.microsoft.com/ws/2008/06/identity/claims/cookiepath.</summary>
  410. </member>
  411. <member name="F:System.Security.Claims.ClaimTypes.Country">
  412. <summary>The URI for a claim that specifies the country/region in which an entity resides, http://schemas.xmlsoap.org/ws/2005/05/identity/claims/country.</summary>
  413. </member>
  414. <member name="F:System.Security.Claims.ClaimTypes.DateOfBirth">
  415. <summary>The URI for a claim that specifies the date of birth of an entity, http://schemas.xmlsoap.org/ws/2005/05/identity/claims/dateofbirth.</summary>
  416. </member>
  417. <member name="F:System.Security.Claims.ClaimTypes.DenyOnlyPrimaryGroupSid">
  418. <summary>The URI for a claim that specifies the deny-only primary group SID on an entity; http://schemas.microsoft.com/ws/2008/06/identity/claims/denyonlyprimarygroupsid. A deny-only SID denies the specified entity to a securable object.</summary>
  419. </member>
  420. <member name="F:System.Security.Claims.ClaimTypes.DenyOnlyPrimarySid">
  421. <summary>The URI for a claim that specifies the deny-only primary SID on an entity; http://schemas.microsoft.com/ws/2008/06/identity/claims/denyonlyprimarysid. A deny-only SID denies the specified entity to a securable object.</summary>
  422. </member>
  423. <member name="F:System.Security.Claims.ClaimTypes.DenyOnlySid">
  424. <summary>The URI for a claim that specifies a deny-only security identifier (SID) for an entity, http://schemas.xmlsoap.org/ws/2005/05/identity/claims/denyonlysid. A deny-only SID denies the specified entity to a securable object.</summary>
  425. </member>
  426. <member name="F:System.Security.Claims.ClaimTypes.DenyOnlyWindowsDeviceGroup">
  427. <summary>http://schemas.microsoft.com/ws/2008/06/identity/claims/denyonlywindowsdevicegroup.</summary>
  428. </member>
  429. <member name="F:System.Security.Claims.ClaimTypes.Dns">
  430. <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, http://schemas.xmlsoap.org/ws/2005/05/identity/claims/dns.</summary>
  431. </member>
  432. <member name="F:System.Security.Claims.ClaimTypes.Dsa">
  433. <summary>http://schemas.microsoft.com/ws/2008/06/identity/claims/dsa.</summary>
  434. </member>
  435. <member name="F:System.Security.Claims.ClaimTypes.Email">
  436. <summary>The URI for a claim that specifies the email address of an entity, http://schemas.xmlsoap.org/ws/2005/05/identity/claims/email.</summary>
  437. </member>
  438. <member name="F:System.Security.Claims.ClaimTypes.Expiration">
  439. <summary>http://schemas.microsoft.com/ws/2008/06/identity/claims/expiration.</summary>
  440. </member>
  441. <member name="F:System.Security.Claims.ClaimTypes.Expired">
  442. <summary>http://schemas.microsoft.com/ws/2008/06/identity/claims/expired.</summary>
  443. </member>
  444. <member name="F:System.Security.Claims.ClaimTypes.Gender">
  445. <summary>The URI for a claim that specifies the gender of an entity, http://schemas.xmlsoap.org/ws/2005/05/identity/claims/gender.</summary>
  446. </member>
  447. <member name="F:System.Security.Claims.ClaimTypes.GivenName">
  448. <summary>The URI for a claim that specifies the given name of an entity, http://schemas.xmlsoap.org/ws/2005/05/identity/claims/givenname.</summary>
  449. </member>
  450. <member name="F:System.Security.Claims.ClaimTypes.GroupSid">
  451. <summary>The URI for a claim that specifies the SID for the group of an entity, http://schemas.microsoft.com/ws/2008/06/identity/claims/groupsid.</summary>
  452. </member>
  453. <member name="F:System.Security.Claims.ClaimTypes.Hash">
  454. <summary>The URI for a claim that specifies a hash value, http://schemas.xmlsoap.org/ws/2005/05/identity/claims/hash.</summary>
  455. </member>
  456. <member name="F:System.Security.Claims.ClaimTypes.HomePhone">
  457. <summary>The URI for a claim that specifies the home phone number of an entity, http://schemas.xmlsoap.org/ws/2005/05/identity/claims/homephone.</summary>
  458. </member>
  459. <member name="F:System.Security.Claims.ClaimTypes.IsPersistent">
  460. <summary>http://schemas.microsoft.com/ws/2008/06/identity/claims/ispersistent.</summary>
  461. </member>
  462. <member name="F:System.Security.Claims.ClaimTypes.Locality">
  463. <summary>The URI for a claim that specifies the locale in which an entity resides, http://schemas.xmlsoap.org/ws/2005/05/identity/claims/locality.</summary>
  464. </member>
  465. <member name="F:System.Security.Claims.ClaimTypes.MobilePhone">
  466. <summary>The URI for a claim that specifies the mobile phone number of an entity, http://schemas.xmlsoap.org/ws/2005/05/identity/claims/mobilephone.</summary>
  467. </member>
  468. <member name="F:System.Security.Claims.ClaimTypes.Name">
  469. <summary>The URI for a claim that specifies the name of an entity, http://schemas.xmlsoap.org/ws/2005/05/identity/claims/name.</summary>
  470. </member>
  471. <member name="F:System.Security.Claims.ClaimTypes.NameIdentifier">
  472. <summary>The URI for a claim that specifies the name of an entity, http://schemas.xmlsoap.org/ws/2005/05/identity/claims/nameidentifier.</summary>
  473. </member>
  474. <member name="F:System.Security.Claims.ClaimTypes.OtherPhone">
  475. <summary>The URI for a claim that specifies the alternative phone number of an entity, http://schemas.xmlsoap.org/ws/2005/05/identity/claims/otherphone.</summary>
  476. </member>
  477. <member name="F:System.Security.Claims.ClaimTypes.PostalCode">
  478. <summary>The URI for a claim that specifies the postal code of an entity, http://schemas.xmlsoap.org/ws/2005/05/identity/claims/postalcode.</summary>
  479. </member>
  480. <member name="F:System.Security.Claims.ClaimTypes.PrimaryGroupSid">
  481. <summary>The URI for a claim that specifies the primary group SID of an entity, http://schemas.microsoft.com/ws/2008/06/identity/claims/primarygroupsid.</summary>
  482. </member>
  483. <member name="F:System.Security.Claims.ClaimTypes.PrimarySid">
  484. <summary>The URI for a claim that specifies the primary SID of an entity, http://schemas.microsoft.com/ws/2008/06/identity/claims/primarysid.</summary>
  485. </member>
  486. <member name="F:System.Security.Claims.ClaimTypes.Role">
  487. <summary>The URI for a claim that specifies the role of an entity, http://schemas.microsoft.com/ws/2008/06/identity/claims/role.</summary>
  488. </member>
  489. <member name="F:System.Security.Claims.ClaimTypes.Rsa">
  490. <summary>The URI for a claim that specifies an RSA key, http://schemas.xmlsoap.org/ws/2005/05/identity/claims/rsa.</summary>
  491. </member>
  492. <member name="F:System.Security.Claims.ClaimTypes.SerialNumber">
  493. <summary>The URI for a claim that specifies a serial number, http://schemas.microsoft.com/ws/2008/06/identity/claims/serialnumber.</summary>
  494. </member>
  495. <member name="F:System.Security.Claims.ClaimTypes.Sid">
  496. <summary>The URI for a claim that specifies a security identifier (SID), http://schemas.xmlsoap.org/ws/2005/05/identity/claims/sid.</summary>
  497. </member>
  498. <member name="F:System.Security.Claims.ClaimTypes.Spn">
  499. <summary>The URI for a claim that specifies a service principal name (SPN) claim, http://schemas.xmlsoap.org/ws/2005/05/identity/claims/spn.</summary>
  500. </member>
  501. <member name="F:System.Security.Claims.ClaimTypes.StateOrProvince">
  502. <summary>The URI for a claim that specifies the state or province in which an entity resides, http://schemas.xmlsoap.org/ws/2005/05/identity/claims/stateorprovince.</summary>
  503. </member>
  504. <member name="F:System.Security.Claims.ClaimTypes.StreetAddress">
  505. <summary>The URI for a claim that specifies the street address of an entity, http://schemas.xmlsoap.org/ws/2005/05/identity/claims/streetaddress.</summary>
  506. </member>
  507. <member name="F:System.Security.Claims.ClaimTypes.Surname">
  508. <summary>The URI for a claim that specifies the surname of an entity, http://schemas.xmlsoap.org/ws/2005/05/identity/claims/surname.</summary>
  509. </member>
  510. <member name="F:System.Security.Claims.ClaimTypes.System">
  511. <summary>The URI for a claim that identifies the system entity, http://schemas.xmlsoap.org/ws/2005/05/identity/claims/system.</summary>
  512. </member>
  513. <member name="F:System.Security.Claims.ClaimTypes.Thumbprint">
  514. <summary>The URI for a claim that specifies a thumbprint, http://schemas.xmlsoap.org/ws/2005/05/identity/claims/thumbprint. A thumbprint is a globally unique SHA-1 hash of an X.509 certificate.</summary>
  515. </member>
  516. <member name="F:System.Security.Claims.ClaimTypes.Upn">
  517. <summary>The URI for a claim that specifies a user principal name (UPN), http://schemas.xmlsoap.org/ws/2005/05/identity/claims/upn.</summary>
  518. </member>
  519. <member name="F:System.Security.Claims.ClaimTypes.Uri">
  520. <summary>The URI for a claim that specifies a URI, http://schemas.xmlsoap.org/ws/2005/05/identity/claims/uri.</summary>
  521. </member>
  522. <member name="F:System.Security.Claims.ClaimTypes.UserData">
  523. <summary>http://schemas.microsoft.com/ws/2008/06/identity/claims/userdata.</summary>
  524. </member>
  525. <member name="F:System.Security.Claims.ClaimTypes.Version">
  526. <summary>http://schemas.microsoft.com/ws/2008/06/identity/claims/version.</summary>
  527. </member>
  528. <member name="F:System.Security.Claims.ClaimTypes.Webpage">
  529. <summary>The URI for a claim that specifies the webpage of an entity, http://schemas.xmlsoap.org/ws/2005/05/identity/claims/webpage.</summary>
  530. </member>
  531. <member name="F:System.Security.Claims.ClaimTypes.WindowsAccountName">
  532. <summary>The URI for a claim that specifies the Windows domain account name of an entity, http://schemas.microsoft.com/ws/2008/06/identity/claims/windowsaccountname.</summary>
  533. </member>
  534. <member name="F:System.Security.Claims.ClaimTypes.WindowsDeviceClaim">
  535. <summary>http://schemas.microsoft.com/ws/2008/06/identity/claims/windowsdeviceclaim.</summary>
  536. </member>
  537. <member name="F:System.Security.Claims.ClaimTypes.WindowsDeviceGroup">
  538. <summary>http://schemas.microsoft.com/ws/2008/06/identity/claims/windowsdevicegroup.</summary>
  539. </member>
  540. <member name="F:System.Security.Claims.ClaimTypes.WindowsFqbnVersion">
  541. <summary>http://schemas.microsoft.com/ws/2008/06/identity/claims/windowsfqbnversion.</summary>
  542. </member>
  543. <member name="F:System.Security.Claims.ClaimTypes.WindowsSubAuthority">
  544. <summary>http://schemas.microsoft.com/ws/2008/06/identity/claims/windowssubauthority.</summary>
  545. </member>
  546. <member name="F:System.Security.Claims.ClaimTypes.WindowsUserClaim">
  547. <summary>http://schemas.microsoft.com/ws/2008/06/identity/claims/windowsuserclaim.</summary>
  548. </member>
  549. <member name="F:System.Security.Claims.ClaimTypes.X500DistinguishedName">
  550. <summary>The URI for a distinguished name claim of an X.509 certificate, http://schemas.xmlsoap.org/ws/2005/05/identity/claims/x500distinguishedname. The X.500 standard defines the methodology for defining distinguished names that are used by X.509 certificates.</summary>
  551. </member>
  552. <member name="T:System.Security.Claims.ClaimValueTypes">
  553. <summary>Defines claim value types according to the type URIs defined by W3C and OASIS. This class cannot be inherited.</summary>
  554. </member>
  555. <member name="F:System.Security.Claims.ClaimValueTypes.Base64Binary">
  556. <summary>A URI that represents the base64Binary XML data type.</summary>
  557. </member>
  558. <member name="F:System.Security.Claims.ClaimValueTypes.Base64Octet">
  559. <summary>A URI that that represents the base64Octet XML data type.</summary>
  560. </member>
  561. <member name="F:System.Security.Claims.ClaimValueTypes.Boolean">
  562. <summary>A URI that represents the boolean XML data type.</summary>
  563. </member>
  564. <member name="F:System.Security.Claims.ClaimValueTypes.Date">
  565. <summary>A URI that represents the date XML data type.</summary>
  566. </member>
  567. <member name="F:System.Security.Claims.ClaimValueTypes.DateTime">
  568. <summary>A URI that represents the dateTime XML data type.</summary>
  569. </member>
  570. <member name="F:System.Security.Claims.ClaimValueTypes.DaytimeDuration">
  571. <summary>A URI that represents the daytimeDuration XQuery data type.</summary>
  572. </member>
  573. <member name="F:System.Security.Claims.ClaimValueTypes.DnsName">
  574. <summary>A URI that represents the dns SOAP data type.</summary>
  575. </member>
  576. <member name="F:System.Security.Claims.ClaimValueTypes.Double">
  577. <summary>A URI that represents the double XML data type.</summary>
  578. </member>
  579. <member name="F:System.Security.Claims.ClaimValueTypes.DsaKeyValue">
  580. <summary>A URI that represents the DSAKeyValue XML Signature data type.</summary>
  581. </member>
  582. <member name="F:System.Security.Claims.ClaimValueTypes.Email">
  583. <summary>A URI that represents the emailaddress SOAP data type.</summary>
  584. </member>
  585. <member name="F:System.Security.Claims.ClaimValueTypes.Fqbn">
  586. <summary>A URI that represents the fqbn XML data type.</summary>
  587. </member>
  588. <member name="F:System.Security.Claims.ClaimValueTypes.HexBinary">
  589. <summary>A URI that represents the hexBinary XML data type.</summary>
  590. </member>
  591. <member name="F:System.Security.Claims.ClaimValueTypes.Integer">
  592. <summary>A URI that represents the integer XML data type.</summary>
  593. </member>
  594. <member name="F:System.Security.Claims.ClaimValueTypes.Integer32">
  595. <summary>A URI that represents the integer32 XML data type.</summary>
  596. </member>
  597. <member name="F:System.Security.Claims.ClaimValueTypes.Integer64">
  598. <summary>A URI that represents the integer64 XML data type.</summary>
  599. </member>
  600. <member name="F:System.Security.Claims.ClaimValueTypes.KeyInfo">
  601. <summary>A URI that represents the KeyInfo XML Signature data type.</summary>
  602. </member>
  603. <member name="F:System.Security.Claims.ClaimValueTypes.Rfc822Name">
  604. <summary>A URI that represents the rfc822Name XACML 1.0 data type.</summary>
  605. </member>
  606. <member name="F:System.Security.Claims.ClaimValueTypes.Rsa">
  607. <summary>A URI that represents the rsa SOAP data type.</summary>
  608. </member>
  609. <member name="F:System.Security.Claims.ClaimValueTypes.RsaKeyValue">
  610. <summary>A URI that represents the RSAKeyValue XML Signature data type.</summary>
  611. </member>
  612. <member name="F:System.Security.Claims.ClaimValueTypes.Sid">
  613. <summary>A URI that represents the sid XML data type.</summary>
  614. </member>
  615. <member name="F:System.Security.Claims.ClaimValueTypes.String">
  616. <summary>A URI that represents the string XML data type.</summary>
  617. </member>
  618. <member name="F:System.Security.Claims.ClaimValueTypes.Time">
  619. <summary>A URI that represents the time XML data type.</summary>
  620. </member>
  621. <member name="F:System.Security.Claims.ClaimValueTypes.UInteger32">
  622. <summary>A URI that represents the uinteger32 XML data type.</summary>
  623. </member>
  624. <member name="F:System.Security.Claims.ClaimValueTypes.UInteger64">
  625. <summary>A URI that represents the uinteger64 XML data type.</summary>
  626. </member>
  627. <member name="F:System.Security.Claims.ClaimValueTypes.UpnName">
  628. <summary>A URI that represents the UPN SOAP data type.</summary>
  629. </member>
  630. <member name="F:System.Security.Claims.ClaimValueTypes.X500Name">
  631. <summary>A URI that represents the x500Name XACML 1.0 data type.</summary>
  632. </member>
  633. <member name="F:System.Security.Claims.ClaimValueTypes.YearMonthDuration">
  634. <summary>A URI that represents the yearMonthDuration XQuery data type.</summary>
  635. </member>
  636. <member name="T:System.Security.Principal.GenericIdentity">
  637. <summary>Represents a generic user.</summary>
  638. </member>
  639. <member name="M:System.Security.Principal.GenericIdentity.#ctor(System.Security.Principal.GenericIdentity)">
  640. <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>
  641. <param name="identity">The object from which to construct the new instance of <see cref="T:System.Security.Principal.GenericIdentity" />.</param>
  642. </member>
  643. <member name="M:System.Security.Principal.GenericIdentity.#ctor(System.String)">
  644. <summary>Initializes a new instance of the <see cref="T:System.Security.Principal.GenericIdentity" /> class representing the user with the specified name.</summary>
  645. <param name="name">The name of the user on whose behalf the code is running. </param>
  646. <exception cref="T:System.ArgumentNullException">The <paramref name="name" /> parameter is null. </exception>
  647. </member>
  648. <member name="M:System.Security.Principal.GenericIdentity.#ctor(System.String,System.String)">
  649. <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>
  650. <param name="name">The name of the user on whose behalf the code is running. </param>
  651. <param name="type">The type of authentication used to identify the user. </param>
  652. <exception cref="T:System.ArgumentNullException">The <paramref name="name" /> parameter is null.-or- The <paramref name="type" /> parameter is null. </exception>
  653. </member>
  654. <member name="P:System.Security.Principal.GenericIdentity.AuthenticationType">
  655. <summary>Gets the type of authentication used to identify the user.</summary>
  656. <returns>The type of authentication used to identify the user.</returns>
  657. </member>
  658. <member name="P:System.Security.Principal.GenericIdentity.Claims">
  659. <summary>Gets all claims for the user represented by this generic identity.</summary>
  660. <returns>A collection of claims for this <see cref="T:System.Security.Principal.GenericIdentity" /> object.</returns>
  661. </member>
  662. <member name="M:System.Security.Principal.GenericIdentity.Clone">
  663. <summary>Creates a new object that is a copy of the current instance.</summary>
  664. <returns>A copy of the current instance.</returns>
  665. </member>
  666. <member name="P:System.Security.Principal.GenericIdentity.IsAuthenticated">
  667. <summary>Gets a value indicating whether the user has been authenticated.</summary>
  668. <returns>true if the user was has been authenticated; otherwise, false.</returns>
  669. </member>
  670. <member name="P:System.Security.Principal.GenericIdentity.Name">
  671. <summary>Gets the user's name.</summary>
  672. <returns>The name of the user on whose behalf the code is being run.</returns>
  673. </member>
  674. <member name="T:System.Security.Principal.GenericPrincipal">
  675. <summary>Represents a generic principal.</summary>
  676. </member>
  677. <member name="M:System.Security.Principal.GenericPrincipal.#ctor(System.Security.Principal.IIdentity,System.String[])">
  678. <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>
  679. <param name="identity">A basic implementation of <see cref="T:System.Security.Principal.IIdentity" /> that represents any user. </param>
  680. <param name="roles">An array of role names to which the user represented by the <paramref name="identity" /> parameter belongs. </param>
  681. <exception cref="T:System.ArgumentNullException">The <paramref name="identity" /> parameter is null. </exception>
  682. </member>
  683. <member name="P:System.Security.Principal.GenericPrincipal.Identity">
  684. <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>
  685. <returns>The <see cref="T:System.Security.Principal.GenericIdentity" /> of the user represented by the <see cref="T:System.Security.Principal.GenericPrincipal" />.</returns>
  686. </member>
  687. <member name="M:System.Security.Principal.GenericPrincipal.IsInRole(System.String)">
  688. <summary>Determines whether the current <see cref="T:System.Security.Principal.GenericPrincipal" /> belongs to the specified role.</summary>
  689. <returns>true if the current <see cref="T:System.Security.Principal.GenericPrincipal" /> is a member of the specified role; otherwise, false.</returns>
  690. <param name="role">The name of the role for which to check membership. </param>
  691. </member>
  692. </members>
  693. </doc>