Microsoft.Owin.Security.xml 43 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <doc>
  3. <assembly>
  4. <name>Microsoft.Owin.Security</name>
  5. </assembly>
  6. <members>
  7. <member name="T:Microsoft.Owin.Security.AppBuilderSecurityExtensions">
  8. <summary>提供只有身份验证中间件实现需要的 app.Property 值的扩展方法。</summary>
  9. </member>
  10. <member name="M:Microsoft.Owin.Security.AppBuilderSecurityExtensions.GetDefaultSignInAsAuthenticationType(Owin.IAppBuilder)">
  11. <summary>返回前面设置的、外部登录中间件在浏览器导航回返回 URL 时应使用的 AuthenticationType。</summary>
  12. <param name="app">传递给应用程序启动代码的应用程序生成器</param>
  13. </member>
  14. <member name="M:Microsoft.Owin.Security.AppBuilderSecurityExtensions.SetDefaultSignInAsAuthenticationType(Owin.IAppBuilder,System.String)">
  15. <summary>由中间件调用,用于更改外部登录中间件在浏览器导航回返回 URL 时应使用的 AuthenticationType 的名称。</summary>
  16. <param name="app">传递给应用程序启动代码的应用程序生成器</param>
  17. <param name="authenticationType">外部中间件登录时应使用的 AuthenticationType。</param>
  18. </member>
  19. <member name="T:Microsoft.Owin.Security.AuthenticationMode">
  20. <summary>控制身份验证中间件的行为</summary>
  21. </member>
  22. <member name="F:Microsoft.Owin.Security.AuthenticationMode.Active">
  23. <summary>在主动模式下,身份验证中间件将在请求到达时更改用户标识,并在响应离开时更改 401 纯文本。</summary>
  24. </member>
  25. <member name="F:Microsoft.Owin.Security.AuthenticationMode.Passive">
  26. <summary>在被动模式下,身份验证中间件只在提示时提供用户标识,并且只会更改在附加质询数据中指定了身份验证类型的 401 响应。</summary>
  27. </member>
  28. <member name="T:Microsoft.Owin.Security.AuthenticationOptions">
  29. <summary>所有身份验证中间件的基本选项</summary>
  30. </member>
  31. <member name="M:Microsoft.Owin.Security.AuthenticationOptions.#ctor(System.String)">
  32. <summary>初始化 AuthenticationOptions 基类的属性</summary>
  33. <param name="authenticationType">分配给 AuthenticationType 属性</param>
  34. </member>
  35. <member name="P:Microsoft.Owin.Security.AuthenticationOptions.AuthenticationMode">
  36. <summary>如果为 Active,则身份验证中间件将更改传入的请求用户,并更改传出的 401 未授权响应。如果为 Passive,则仅当 AuthenticationType 已进行显式指定时,身份验证中间件才提供标识并更改响应。</summary>
  37. </member>
  38. <member name="P:Microsoft.Owin.Security.AuthenticationOptions.AuthenticationType">
  39. <summary>选项中的 AuthenticationType 对应于 IIdentity AuthenticationType 属性。可以分配其他值,以便在一个管道中多次使用同一个身份验证中间件类型。</summary>
  40. </member>
  41. <member name="P:Microsoft.Owin.Security.AuthenticationOptions.Description">
  42. <summary>为应用程序提供的有关身份验证类型的附加信息。</summary>
  43. </member>
  44. <member name="T:Microsoft.Owin.Security.AuthenticationTicket">
  45. <summary>包含用户标识信息以及附加的身份验证状态。</summary>
  46. </member>
  47. <member name="M:Microsoft.Owin.Security.AuthenticationTicket.#ctor(System.Security.Claims.ClaimsIdentity,Microsoft.Owin.Security.AuthenticationProperties)">
  48. <summary>初始化 <see cref="T:Microsoft.Owin.Security.AuthenticationTicket" /> 类的新实例</summary>
  49. </member>
  50. <member name="P:Microsoft.Owin.Security.AuthenticationTicket.Identity">
  51. <summary>获取已经过身份验证的用户标识。</summary>
  52. </member>
  53. <member name="P:Microsoft.Owin.Security.AuthenticationTicket.Properties">
  54. <summary>身份验证会话的附加状态值。</summary>
  55. </member>
  56. <member name="T:Microsoft.Owin.Security.CertificateSubjectKeyIdentifierValidator">
  57. <summary>根据证书的使用者密钥标识符提供固定证书验证。</summary>
  58. </member>
  59. <member name="M:Microsoft.Owin.Security.CertificateSubjectKeyIdentifierValidator.#ctor(System.Collections.Generic.IEnumerable{System.String})">
  60. <summary>初始化 <see cref="T:Microsoft.Owin.Security.CertificateSubjectKeyIdentifierValidator" /> 类的新实例。</summary>
  61. <param name="validSubjectKeyIdentifiers">一组对 HTTPS 请求有效的使用者密钥标识符。</param>
  62. </member>
  63. <member name="M:Microsoft.Owin.Security.CertificateSubjectKeyIdentifierValidator.Validate(System.Object,System.Security.Cryptography.X509Certificates.X509Certificate,System.Security.Cryptography.X509Certificates.X509Chain,System.Net.Security.SslPolicyErrors)">
  64. <summary>验证用于身份验证的远程安全套接字层 (SSL) 证书。</summary>
  65. <returns>一个布尔值,确定是否接受使用指定的证书进行身份验证。</returns>
  66. <param name="sender">包含此验证的状态信息的对象。</param>
  67. <param name="certificate">用于对远程方进行身份验证的证书。</param>
  68. <param name="chain">与远程证书关联的证书颁发机构链。</param>
  69. <param name="sslPolicyErrors">与远程证书关联的一个或多个错误。</param>
  70. </member>
  71. <member name="T:Microsoft.Owin.Security.CertificateSubjectPublicKeyInfoValidator">
  72. <summary>实现 http://datatracker.ietf.org/doc/draft-ietf-websec-key-pinning/?include_text=1 上传递的证书固定验证程序</summary>
  73. </member>
  74. <member name="M:Microsoft.Owin.Security.CertificateSubjectPublicKeyInfoValidator.#ctor(System.Collections.Generic.IEnumerable{System.String},Microsoft.Owin.Security.SubjectPublicKeyInfoAlgorithm)">
  75. <summary>初始化 <see cref="T:Microsoft.Owin.Security.CertificateSubjectPublicKeyInfoValidator" /> 类的新实例。</summary>
  76. <param name="validBase64EncodedSubjectPublicKeyInfoHashes">证书公钥信息 Blob 的有效 base64 编码哈希集合。</param>
  77. <param name="algorithm">用于生成哈希的算法。</param>
  78. </member>
  79. <member name="M:Microsoft.Owin.Security.CertificateSubjectPublicKeyInfoValidator.Validate(System.Object,System.Security.Cryptography.X509Certificates.X509Certificate,System.Security.Cryptography.X509Certificates.X509Chain,System.Net.Security.SslPolicyErrors)">
  80. <summary>验证是否至少有一个已知的 SPKI 哈希。</summary>
  81. <returns>一个布尔值,确定是否接受使用指定的证书进行身份验证。</returns>
  82. <param name="sender">包含此验证的状态信息的对象。</param>
  83. <param name="certificate">用于对远程方进行身份验证的证书。</param>
  84. <param name="chain">与远程证书关联的证书颁发机构链。</param>
  85. <param name="sslPolicyErrors">与远程证书关联的一个或多个错误。</param>
  86. </member>
  87. <member name="T:Microsoft.Owin.Security.CertificateThumbprintValidator">
  88. <summary>基于证书指纹提供固定证书验证。</summary>
  89. </member>
  90. <member name="M:Microsoft.Owin.Security.CertificateThumbprintValidator.#ctor(System.Collections.Generic.IEnumerable{System.String})">
  91. <summary>初始化 <see cref="T:Microsoft.Owin.Security.CertificateThumbprintValidator" /> 类的新实例。</summary>
  92. <param name="validThumbprints">对 HTTPS 请求有效的一组指纹。</param>
  93. </member>
  94. <member name="M:Microsoft.Owin.Security.CertificateThumbprintValidator.Validate(System.Object,System.Security.Cryptography.X509Certificates.X509Certificate,System.Security.Cryptography.X509Certificates.X509Chain,System.Net.Security.SslPolicyErrors)">
  95. <summary>验证签名链中的证书指纹是否至少与核准清单中的一个指纹相匹配。</summary>
  96. <returns>一个布尔值,确定是否接受使用指定的证书进行身份验证。</returns>
  97. <param name="sender">包含此验证的状态信息的对象。</param>
  98. <param name="certificate">用于对远程方进行身份验证的证书。</param>
  99. <param name="chain">与远程证书关联的证书颁发机构链。</param>
  100. <param name="sslPolicyErrors">与远程证书关联的一个或多个错误。</param>
  101. </member>
  102. <member name="T:Microsoft.Owin.Security.ICertificateValidator">
  103. <summary>用于提供固定证书验证的接口,该验证根据已知良好的证书列表检查 HTTPS 通信,防止不安全的或恶意的 CA 为主机所有者未知的主机颁发证书。</summary>
  104. </member>
  105. <member name="M:Microsoft.Owin.Security.ICertificateValidator.Validate(System.Object,System.Security.Cryptography.X509Certificates.X509Certificate,System.Security.Cryptography.X509Certificates.X509Chain,System.Net.Security.SslPolicyErrors)">
  106. <summary>验证用于身份验证的远程安全套接字层 (SSL) 证书。</summary>
  107. <returns>一个布尔值,确定是否接受使用指定的证书进行身份验证。</returns>
  108. <param name="sender">包含此验证的状态信息的对象。</param>
  109. <param name="certificate">用于对远程方进行身份验证的证书。</param>
  110. <param name="chain">与远程证书关联的证书颁发机构链。</param>
  111. <param name="sslPolicyErrors">与远程证书关联的一个或多个错误。</param>
  112. </member>
  113. <member name="T:Microsoft.Owin.Security.ISecureDataFormat`1">
  114. <summary>表示要保护的数据。</summary>
  115. <typeparam name="TData">泛型类型数据。</typeparam>
  116. </member>
  117. <member name="M:Microsoft.Owin.Security.ISecureDataFormat`1.Protect(`0)">
  118. <summary>保护数据,使其不能被格式化。</summary>
  119. <returns>要保护的数据。</returns>
  120. <param name="data">数据。</param>
  121. </member>
  122. <member name="M:Microsoft.Owin.Security.ISecureDataFormat`1.Unprotect(System.String)">
  123. <summary>解密指定文本中的数据。</summary>
  124. <returns>要解密的数据。</returns>
  125. <param name="protectedText">受保护的文本。</param>
  126. </member>
  127. <member name="T:Microsoft.Owin.Security.SubjectPublicKeyInfoAlgorithm">
  128. <summary>用于生成使用者公钥信息 blob 哈希的算法。</summary>
  129. </member>
  130. <member name="F:Microsoft.Owin.Security.SubjectPublicKeyInfoAlgorithm.Sha1">
  131. <summary />
  132. </member>
  133. <member name="F:Microsoft.Owin.Security.SubjectPublicKeyInfoAlgorithm.Sha256">
  134. <summary />
  135. </member>
  136. <member name="T:Microsoft.Owin.Security.DataHandler.PropertiesDataFormat"></member>
  137. <member name="M:Microsoft.Owin.Security.DataHandler.PropertiesDataFormat.#ctor(Microsoft.Owin.Security.DataProtection.IDataProtector)"></member>
  138. <member name="T:Microsoft.Owin.Security.DataHandler.SecureDataFormat`1">
  139. <typeparam name="TData"></typeparam>
  140. </member>
  141. <member name="M:Microsoft.Owin.Security.DataHandler.SecureDataFormat`1.#ctor(Microsoft.Owin.Security.DataHandler.Serializer.IDataSerializer{`0},Microsoft.Owin.Security.DataProtection.IDataProtector,Microsoft.Owin.Security.DataHandler.Encoder.ITextEncoder)"></member>
  142. <member name="M:Microsoft.Owin.Security.DataHandler.SecureDataFormat`1.Protect(`0)"></member>
  143. <member name="M:Microsoft.Owin.Security.DataHandler.SecureDataFormat`1.Unprotect(System.String)"></member>
  144. <member name="T:Microsoft.Owin.Security.DataHandler.TicketDataFormat"></member>
  145. <member name="M:Microsoft.Owin.Security.DataHandler.TicketDataFormat.#ctor(Microsoft.Owin.Security.DataProtection.IDataProtector)"></member>
  146. <member name="T:Microsoft.Owin.Security.DataHandler.Encoder.Base64TextEncoder">
  147. <summary>表示 base64 文本格式编码器。</summary>
  148. </member>
  149. <member name="M:Microsoft.Owin.Security.DataHandler.Encoder.Base64TextEncoder.#ctor">
  150. <summary>初始化 <see cref="T:Microsoft.Owin.Security.DataHandler.Encoder.Base64TextEncoder" /> 类的新实例。</summary>
  151. </member>
  152. <member name="M:Microsoft.Owin.Security.DataHandler.Encoder.Base64TextEncoder.Decode(System.String)">
  153. <summary>为指定的文本解码。</summary>
  154. <returns>表示解码数据的 <see cref="T:System.Byte" />。</returns>
  155. <param name="text">要解码的文本。</param>
  156. </member>
  157. <member name="M:Microsoft.Owin.Security.DataHandler.Encoder.Base64TextEncoder.Encode(System.Byte[])">
  158. <summary>将数据转换为 base64 格式的字符串。</summary>
  159. <returns>已转换为 base64 格式的数据字符串。</returns>
  160. <param name="data">要转换的数据。</param>
  161. </member>
  162. <member name="T:Microsoft.Owin.Security.DataHandler.Encoder.Base64UrlTextEncoder">
  163. <summary>表示 Base64Url 文本格式编码器。</summary>
  164. </member>
  165. <member name="M:Microsoft.Owin.Security.DataHandler.Encoder.Base64UrlTextEncoder.#ctor">
  166. <summary>初始化 <see cref="T:Microsoft.Owin.Security.DataHandler.Encoder.Base64UrlTextEncoder" /> 类的新实例。</summary>
  167. </member>
  168. <member name="M:Microsoft.Owin.Security.DataHandler.Encoder.Base64UrlTextEncoder.Decode(System.String)">
  169. <summary>为指定的文本解码。</summary>
  170. <returns>表示解码数据的 <see cref="T:System.Byte" />。</returns>
  171. <param name="text">要解码的文本。</param>
  172. </member>
  173. <member name="M:Microsoft.Owin.Security.DataHandler.Encoder.Base64UrlTextEncoder.Encode(System.Byte[])">
  174. <summary>将数据转换为 Base64Url 格式的字符串。</summary>
  175. <returns>已转换为 Base64Url 格式的数据字符串。</returns>
  176. <param name="data">要转换的数据。</param>
  177. </member>
  178. <member name="T:Microsoft.Owin.Security.DataHandler.Encoder.ITextEncoder">
  179. <summary>表示文本编码器的接口。</summary>
  180. </member>
  181. <member name="M:Microsoft.Owin.Security.DataHandler.Encoder.ITextEncoder.Decode(System.String)">
  182. <summary>为指定的文本解码。</summary>
  183. <returns>表示解码数据的 <see cref="T:System.Byte" />。</returns>
  184. <param name="text">要解码的文本。</param>
  185. </member>
  186. <member name="M:Microsoft.Owin.Security.DataHandler.Encoder.ITextEncoder.Encode(System.Byte[])">
  187. <summary>将数据转换为字符串。</summary>
  188. <returns>转换的数据字符串。</returns>
  189. <param name="data">要转换的数据。</param>
  190. </member>
  191. <member name="T:Microsoft.Owin.Security.DataHandler.Encoder.TextEncodings">
  192. <summary>表示文本编码。</summary>
  193. </member>
  194. <member name="P:Microsoft.Owin.Security.DataHandler.Encoder.TextEncodings.Base64">
  195. <summary>获取 Base64 文本编码器。</summary>
  196. <returns>Base64 文本编码器。</returns>
  197. </member>
  198. <member name="P:Microsoft.Owin.Security.DataHandler.Encoder.TextEncodings.Base64Url">
  199. <summary>获取 Base64Url 文本编码器。</summary>
  200. <returns>Base64Url 文本编码器。</returns>
  201. </member>
  202. <member name="T:Microsoft.Owin.Security.DataHandler.Serializer.DataSerializers">
  203. <summary>提供数据序列化程序。</summary>
  204. </member>
  205. <member name="P:Microsoft.Owin.Security.DataHandler.Serializer.DataSerializers.Properties"></member>
  206. <member name="P:Microsoft.Owin.Security.DataHandler.Serializer.DataSerializers.Ticket">
  207. <summary>获取或设置票证数据序列化程序。</summary>
  208. <returns>票证数据序列化程序。</returns>
  209. </member>
  210. <member name="T:Microsoft.Owin.Security.DataHandler.Serializer.IDataSerializer`1">
  211. <summary>表示数据序列化程序的接口。</summary>
  212. <typeparam name="TModel">数据模型的类型。</typeparam>
  213. </member>
  214. <member name="M:Microsoft.Owin.Security.DataHandler.Serializer.IDataSerializer`1.Deserialize(System.Byte[])">
  215. <summary>反序列化指定的数据。</summary>
  216. <param name="data">要反序列化的数据。</param>
  217. </member>
  218. <member name="M:Microsoft.Owin.Security.DataHandler.Serializer.IDataSerializer`1.Serialize(`0)">
  219. <summary>使用给定的模型序列化数据。</summary>
  220. <param name="model">数据模型。</param>
  221. </member>
  222. <member name="T:Microsoft.Owin.Security.DataHandler.Serializer.PropertiesSerializer"></member>
  223. <member name="M:Microsoft.Owin.Security.DataHandler.Serializer.PropertiesSerializer.#ctor"></member>
  224. <member name="M:Microsoft.Owin.Security.DataHandler.Serializer.PropertiesSerializer.Deserialize(System.Byte[])"></member>
  225. <member name="M:Microsoft.Owin.Security.DataHandler.Serializer.PropertiesSerializer.Read(System.IO.BinaryReader)"></member>
  226. <member name="M:Microsoft.Owin.Security.DataHandler.Serializer.PropertiesSerializer.Serialize(Microsoft.Owin.Security.AuthenticationProperties)"></member>
  227. <member name="M:Microsoft.Owin.Security.DataHandler.Serializer.PropertiesSerializer.Write(System.IO.BinaryWriter,Microsoft.Owin.Security.AuthenticationProperties)"></member>
  228. <member name="T:Microsoft.Owin.Security.DataHandler.Serializer.TicketSerializer">
  229. <summary>表示票证序列化程序。</summary>
  230. </member>
  231. <member name="M:Microsoft.Owin.Security.DataHandler.Serializer.TicketSerializer.#ctor">
  232. <summary>初始化 <see cref="T:Microsoft.Owin.Security.DataHandler.Serializer.TicketSerializer" /> 类的新实例。</summary>
  233. </member>
  234. <member name="M:Microsoft.Owin.Security.DataHandler.Serializer.TicketSerializer.Deserialize(System.Byte[])">
  235. <summary>反序列化票证数据。</summary>
  236. <returns>正在反序列化的数据。</returns>
  237. <param name="data">要反序列化的数据。</param>
  238. </member>
  239. <member name="M:Microsoft.Owin.Security.DataHandler.Serializer.TicketSerializer.Read(System.IO.BinaryReader)">
  240. <summary>从读取器中读取指定的数据。</summary>
  241. <returns>正在读取的数据。</returns>
  242. <param name="reader">要从中读取的读取器。</param>
  243. </member>
  244. <member name="M:Microsoft.Owin.Security.DataHandler.Serializer.TicketSerializer.Serialize(Microsoft.Owin.Security.AuthenticationTicket)">
  245. <summary>使用给定的模型序列化数据。</summary>
  246. <param name="model">数据模型。</param>
  247. </member>
  248. <member name="M:Microsoft.Owin.Security.DataHandler.Serializer.TicketSerializer.Write(System.IO.BinaryWriter,Microsoft.Owin.Security.AuthenticationTicket)">
  249. <summary>从指定的写入器写入数据。</summary>
  250. <param name="writer">写入器。</param>
  251. <param name="model">数据模型。</param>
  252. </member>
  253. <member name="T:Microsoft.Owin.Security.DataProtection.AppBuilderExtensions">
  254. <summary>应用程序生成器扩展。</summary>
  255. </member>
  256. <member name="M:Microsoft.Owin.Security.DataProtection.AppBuilderExtensions.CreateDataProtector(Owin.IAppBuilder,System.String[])">
  257. <summary>创建数据保护程序。</summary>
  258. <returns>创建的 <see cref="T:Microsoft.Owin.Security.DataProtection.IDataProtector" />。</returns>
  259. <param name="app">应用程序生成器。</param>
  260. <param name="purposes">创建数据保护程序的目的列表。</param>
  261. </member>
  262. <member name="M:Microsoft.Owin.Security.DataProtection.AppBuilderExtensions.GetDataProtectionProvider(Owin.IAppBuilder)">
  263. <summary>检索应用程序的数据保护提供程序。</summary>
  264. <returns>要获取的 <see cref="T:Microsoft.Owin.Security.DataProtection.IDataProtectionProvider" /> 对象。</returns>
  265. <param name="app">应用程序生成器。</param>
  266. </member>
  267. <member name="M:Microsoft.Owin.Security.DataProtection.AppBuilderExtensions.SetDataProtectionProvider(Owin.IAppBuilder,Microsoft.Owin.Security.DataProtection.IDataProtectionProvider)">
  268. <summary>设置数据保护提供程序。</summary>
  269. <param name="app">应用程序生成器。</param>
  270. <param name="dataProtectionProvider">要设置的数据保护提供程序。</param>
  271. </member>
  272. <member name="T:Microsoft.Owin.Security.DataProtection.DpapiDataProtectionProvider">
  273. <summary>用于提供从数据保护 API 派生的数据保护服务。当应用程序未由 ASP.NET 托管,并且所有进程以相同的域标识运行时,这是最佳的数据保护选项。</summary>
  274. </member>
  275. <member name="M:Microsoft.Owin.Security.DataProtection.DpapiDataProtectionProvider.#ctor">
  276. <summary>使用随机应用程序名称初始化新的 DpapiDataProtectionProvider。这只可用于在执行当前应用程序的持续时间内保护数据。</summary>
  277. </member>
  278. <member name="M:Microsoft.Owin.Security.DataProtection.DpapiDataProtectionProvider.#ctor(System.String)">
  279. <summary>初始化一个使用给定 appName 作为保护算法一部分的新 DpapiDataProtectionProvider</summary>
  280. <param name="appName">用户提供的值,往返访问受保护数据时需要该值。在自托管环境中,默认值取自 IAppBuilder.Properties["owin.AppName"]。</param>
  281. </member>
  282. <member name="M:Microsoft.Owin.Security.DataProtection.DpapiDataProtectionProvider.Create(System.String[])">
  283. <summary>返回提供程序的 IDataProtection 的新实例。</summary>
  284. <returns>数据保护服务的实例</returns>
  285. <param name="purposes">附加的熵,用于确保只针对正当目的取消保护受保护的数据。</param>
  286. </member>
  287. <member name="T:Microsoft.Owin.Security.DataProtection.IDataProtectionProvider">
  288. <summary> 用于创建 IDataProtection 实例的工厂。</summary>
  289. </member>
  290. <member name="M:Microsoft.Owin.Security.DataProtection.IDataProtectionProvider.Create(System.String[])">
  291. <summary> 返回提供程序的 IDataProtection 的新实例。</summary>
  292. <returns>数据保护服务的实例。</returns>
  293. <param name="purposes">附加的熵,用于确保只针对正当目的取消保护受保护的数据。</param>
  294. </member>
  295. <member name="T:Microsoft.Owin.Security.DataProtection.IDataProtector">
  296. <summary> 用于保护和取消保护数据的服务。</summary>
  297. </member>
  298. <member name="M:Microsoft.Owin.Security.DataProtection.IDataProtector.Protect(System.Byte[])">
  299. <summary> 调用该项可以保护用户数据。</summary>
  300. <param name="userData">必须保护的原始数据。</param>
  301. </member>
  302. <member name="M:Microsoft.Owin.Security.DataProtection.IDataProtector.Unprotect(System.Byte[])">
  303. <summary> 调用该项可以取消保护用户数据。</summary>
  304. <param name="protectedData">对相同的 IDataProtection 服务调用 Protect 后返回的字节数组。</param>
  305. </member>
  306. <member name="T:Microsoft.Owin.Security.Infrastructure.AuthenticationHandler">
  307. <summary> 大多数身份验证中间件执行的基于请求的工作的基类。</summary>
  308. </member>
  309. <member name="M:Microsoft.Owin.Security.Infrastructure.AuthenticationHandler.#ctor">
  310. <summary>初始化 <see cref="T:Microsoft.Owin.Security.Infrastructure.AuthenticationHandler" /> 类的新实例。</summary>
  311. </member>
  312. <member name="M:Microsoft.Owin.Security.Infrastructure.AuthenticationHandler.ApplyResponseChallengeAsync">
  313. <summary>如果相关身份验证方案将身份验证交互作为其请求流的一部分处理,则重写此方法以处理 401 质询问题。(例如添加响应标头,或将 401 结果更改为登录页的 302 或外部登录位置。)</summary>
  314. </member>
  315. <member name="M:Microsoft.Owin.Security.Infrastructure.AuthenticationHandler.ApplyResponseCoreAsync">
  316. <summary>可以由处理程序重写的核心方法。默认行为是调用两个公共响应活动,一个用于处理登录/注销问题,另一个用于处理 401 质询。</summary>
  317. </member>
  318. <member name="M:Microsoft.Owin.Security.Infrastructure.AuthenticationHandler.ApplyResponseGrantAsync">
  319. <summary>如果相关身份验证方案将授权/吊销作为其请求流的一部分处理,则重写此方法以处理登录/注销问题。(例如设置/删除 Cookie)</summary>
  320. </member>
  321. <member name="M:Microsoft.Owin.Security.Infrastructure.AuthenticationHandler.AuthenticateAsync">
  322. <summary>针对当前请求最多执行一次 AuthenticateCore 中的身份验证逻辑,并返回结果。多次调用 Authenticate 将始终返回原始值。应始终调用此方法,而不要直接调用 AuthenticateCore。</summary>
  323. <returns>由身份验证逻辑提供的票证数据</returns>
  324. </member>
  325. <member name="M:Microsoft.Owin.Security.Infrastructure.AuthenticationHandler.AuthenticateCoreAsync">
  326. <summary>必须由处理程序提供的核心身份验证逻辑。针对每个请求最多调用一次。不要直接调用,而应调用包装 Authenticate 方法。</summary>
  327. <returns>由身份验证逻辑提供的票证数据</returns>
  328. </member>
  329. <member name="M:Microsoft.Owin.Security.Infrastructure.AuthenticationHandler.BaseInitializeAsync(Microsoft.Owin.Security.AuthenticationOptions,Microsoft.Owin.IOwinContext)"></member>
  330. <member name="P:Microsoft.Owin.Security.Infrastructure.AuthenticationHandler.Context"></member>
  331. <member name="M:Microsoft.Owin.Security.Infrastructure.AuthenticationHandler.GenerateCorrelationId(Microsoft.Owin.Security.AuthenticationProperties)"></member>
  332. <member name="P:Microsoft.Owin.Security.Infrastructure.AuthenticationHandler.Helper"></member>
  333. <member name="M:Microsoft.Owin.Security.Infrastructure.AuthenticationHandler.InitializeCoreAsync"></member>
  334. <member name="M:Microsoft.Owin.Security.Infrastructure.AuthenticationHandler.InvokeAsync">
  335. <summary>在初始化之后由公共代码调用一次。如果身份验证中间件直接响应已知的专用路径,则必须重写此虚拟路径,将请求路径与其已知路径进行比较,提供适当的响应信息,并停止进一步处理。</summary>
  336. <returns>若返回 false,则公共代码将按顺序调用下一个中间件。若返回 true,则公共代码将开始异步完成过程,而不调用中间件管道的其余部分。</returns>
  337. </member>
  338. <member name="P:Microsoft.Owin.Security.Infrastructure.AuthenticationHandler.Request"></member>
  339. <member name="P:Microsoft.Owin.Security.Infrastructure.AuthenticationHandler.RequestPathBase"></member>
  340. <member name="P:Microsoft.Owin.Security.Infrastructure.AuthenticationHandler.Response"></member>
  341. <member name="M:Microsoft.Owin.Security.Infrastructure.AuthenticationHandler.TeardownCoreAsync"></member>
  342. <member name="M:Microsoft.Owin.Security.Infrastructure.AuthenticationHandler.ValidateCorrelationId(Microsoft.Owin.Security.AuthenticationProperties,Microsoft.Owin.Logging.ILogger)"></member>
  343. <member name="T:Microsoft.Owin.Security.Infrastructure.AuthenticationHandler`1">
  344. <summary>大多数身份验证中间件执行的基于请求的工作的基类。</summary>
  345. <typeparam name="TOptions">指定 AuthenticationOptions 属性的类型</typeparam>
  346. </member>
  347. <member name="M:Microsoft.Owin.Security.Infrastructure.AuthenticationHandler`1.#ctor">
  348. <summary>初始化 <see cref="T:Microsoft.Owin.Security.Infrastructure.AuthenticationHandler`1" /> 类的新实例。</summary>
  349. </member>
  350. <member name="P:Microsoft.Owin.Security.Infrastructure.AuthenticationHandler`1.Options"></member>
  351. <member name="T:Microsoft.Owin.Security.Infrastructure.AuthenticationMiddleware`1">
  352. <summary>表示身份验证中间件。</summary>
  353. <typeparam name="TOptions">身份验证选项的类型。</typeparam>
  354. </member>
  355. <member name="M:Microsoft.Owin.Security.Infrastructure.AuthenticationMiddleware`1.#ctor(Microsoft.Owin.OwinMiddleware,`0)">
  356. <summary>初始化 <see cref="T:Microsoft.Owin.Security.Infrastructure.AuthenticationMiddleware`1" /> 类的新实例。</summary>
  357. <param name="next">下一个 OWIN 中间件。</param>
  358. <param name="options">身份验证选项。</param>
  359. </member>
  360. <member name="M:Microsoft.Owin.Security.Infrastructure.AuthenticationMiddleware`1.CreateHandler">
  361. <summary>创建身份验证处理程序。</summary>
  362. <returns>创建的 <see cref="T:Microsoft.Owin.Security.Infrastructure.AuthenticationHandler`1" />。</returns>
  363. </member>
  364. <member name="M:Microsoft.Owin.Security.Infrastructure.AuthenticationMiddleware`1.Invoke(Microsoft.Owin.IOwinContext)"></member>
  365. <member name="P:Microsoft.Owin.Security.Infrastructure.AuthenticationMiddleware`1.Options">
  366. <summary>获取或设置身份验证选项。</summary>
  367. <returns>完成身份验证的任务。</returns>
  368. </member>
  369. <member name="T:Microsoft.Owin.Security.Infrastructure.AuthenticationTokenCreateContext"></member>
  370. <member name="M:Microsoft.Owin.Security.Infrastructure.AuthenticationTokenCreateContext.#ctor(Microsoft.Owin.IOwinContext,Microsoft.Owin.Security.ISecureDataFormat{Microsoft.Owin.Security.AuthenticationTicket},Microsoft.Owin.Security.AuthenticationTicket)"></member>
  371. <member name="M:Microsoft.Owin.Security.Infrastructure.AuthenticationTokenCreateContext.SerializeTicket"></member>
  372. <member name="M:Microsoft.Owin.Security.Infrastructure.AuthenticationTokenCreateContext.SetToken(System.String)"></member>
  373. <member name="P:Microsoft.Owin.Security.Infrastructure.AuthenticationTokenCreateContext.Ticket"></member>
  374. <member name="P:Microsoft.Owin.Security.Infrastructure.AuthenticationTokenCreateContext.Token"></member>
  375. <member name="T:Microsoft.Owin.Security.Infrastructure.AuthenticationTokenProvider"></member>
  376. <member name="M:Microsoft.Owin.Security.Infrastructure.AuthenticationTokenProvider.#ctor"></member>
  377. <member name="M:Microsoft.Owin.Security.Infrastructure.AuthenticationTokenProvider.Create(Microsoft.Owin.Security.Infrastructure.AuthenticationTokenCreateContext)"></member>
  378. <member name="M:Microsoft.Owin.Security.Infrastructure.AuthenticationTokenProvider.CreateAsync(Microsoft.Owin.Security.Infrastructure.AuthenticationTokenCreateContext)"></member>
  379. <member name="P:Microsoft.Owin.Security.Infrastructure.AuthenticationTokenProvider.OnCreate"></member>
  380. <member name="P:Microsoft.Owin.Security.Infrastructure.AuthenticationTokenProvider.OnCreateAsync"></member>
  381. <member name="P:Microsoft.Owin.Security.Infrastructure.AuthenticationTokenProvider.OnReceive"></member>
  382. <member name="P:Microsoft.Owin.Security.Infrastructure.AuthenticationTokenProvider.OnReceiveAsync"></member>
  383. <member name="M:Microsoft.Owin.Security.Infrastructure.AuthenticationTokenProvider.Receive(Microsoft.Owin.Security.Infrastructure.AuthenticationTokenReceiveContext)"></member>
  384. <member name="M:Microsoft.Owin.Security.Infrastructure.AuthenticationTokenProvider.ReceiveAsync(Microsoft.Owin.Security.Infrastructure.AuthenticationTokenReceiveContext)"></member>
  385. <member name="T:Microsoft.Owin.Security.Infrastructure.AuthenticationTokenReceiveContext"></member>
  386. <member name="M:Microsoft.Owin.Security.Infrastructure.AuthenticationTokenReceiveContext.#ctor(Microsoft.Owin.IOwinContext,Microsoft.Owin.Security.ISecureDataFormat{Microsoft.Owin.Security.AuthenticationTicket},System.String)"></member>
  387. <member name="M:Microsoft.Owin.Security.Infrastructure.AuthenticationTokenReceiveContext.DeserializeTicket(System.String)"></member>
  388. <member name="M:Microsoft.Owin.Security.Infrastructure.AuthenticationTokenReceiveContext.SetTicket(Microsoft.Owin.Security.AuthenticationTicket)"></member>
  389. <member name="P:Microsoft.Owin.Security.Infrastructure.AuthenticationTokenReceiveContext.Ticket"></member>
  390. <member name="P:Microsoft.Owin.Security.Infrastructure.AuthenticationTokenReceiveContext.Token"></member>
  391. <member name="T:Microsoft.Owin.Security.Infrastructure.IAuthenticationTokenProvider"></member>
  392. <member name="M:Microsoft.Owin.Security.Infrastructure.IAuthenticationTokenProvider.Create(Microsoft.Owin.Security.Infrastructure.AuthenticationTokenCreateContext)"></member>
  393. <member name="M:Microsoft.Owin.Security.Infrastructure.IAuthenticationTokenProvider.CreateAsync(Microsoft.Owin.Security.Infrastructure.AuthenticationTokenCreateContext)"></member>
  394. <member name="M:Microsoft.Owin.Security.Infrastructure.IAuthenticationTokenProvider.Receive(Microsoft.Owin.Security.Infrastructure.AuthenticationTokenReceiveContext)"></member>
  395. <member name="M:Microsoft.Owin.Security.Infrastructure.IAuthenticationTokenProvider.ReceiveAsync(Microsoft.Owin.Security.Infrastructure.AuthenticationTokenReceiveContext)"></member>
  396. <member name="T:Microsoft.Owin.Security.Infrastructure.SecurityHelper">
  397. <summary>在实现身份验证中间件时使用的帮助器代码</summary>
  398. </member>
  399. <member name="M:Microsoft.Owin.Security.Infrastructure.SecurityHelper.#ctor(Microsoft.Owin.IOwinContext)">
  400. <summary>在实现身份验证中间件时使用的帮助器代码</summary>
  401. </member>
  402. <member name="M:Microsoft.Owin.Security.Infrastructure.SecurityHelper.AddUserIdentity(System.Security.Principal.IIdentity)">
  403. <summary>将一个附加的 ClaimsIdentity 添加到“server.User”环境键中的 ClaimsPrincipal</summary>
  404. </member>
  405. <member name="M:Microsoft.Owin.Security.Infrastructure.SecurityHelper.Equals(Microsoft.Owin.Security.Infrastructure.SecurityHelper)"></member>
  406. <member name="M:Microsoft.Owin.Security.Infrastructure.SecurityHelper.Equals(System.Object)"></member>
  407. <member name="M:Microsoft.Owin.Security.Infrastructure.SecurityHelper.GetHashCode"></member>
  408. <member name="M:Microsoft.Owin.Security.Infrastructure.SecurityHelper.LookupChallenge(System.String,Microsoft.Owin.Security.AuthenticationMode)">
  409. <summary>查找特定身份验证中间件的响应质询详细信息</summary>
  410. <returns>为中间件的行为方式提供指示的信息</returns>
  411. <param name="authenticationType">要查找的身份验证类型</param>
  412. <param name="authenticationMode">中间件在运行时所处的身份验证模式</param>
  413. </member>
  414. <member name="M:Microsoft.Owin.Security.Infrastructure.SecurityHelper.LookupSignIn(System.String)">
  415. <summary>查找特定身份验证中间件的响应登录详细信息</summary>
  416. <returns>为中间件的行为方式提供指示的信息</returns>
  417. <param name="authenticationType">要查找的身份验证类型</param>
  418. </member>
  419. <member name="M:Microsoft.Owin.Security.Infrastructure.SecurityHelper.LookupSignOut(System.String,Microsoft.Owin.Security.AuthenticationMode)">
  420. <summary>查找特定身份验证中间件的响应注销详细信息</summary>
  421. <returns>为中间件的行为方式提供指示的信息</returns>
  422. <param name="authenticationType">要查找的身份验证类型</param>
  423. <param name="authenticationMode">中间件在运行时所处的身份验证模式</param>
  424. </member>
  425. <member name="M:Microsoft.Owin.Security.Infrastructure.SecurityHelper.op_Equality(Microsoft.Owin.Security.Infrastructure.SecurityHelper,Microsoft.Owin.Security.Infrastructure.SecurityHelper)"></member>
  426. <member name="M:Microsoft.Owin.Security.Infrastructure.SecurityHelper.op_Inequality(Microsoft.Owin.Security.Infrastructure.SecurityHelper,Microsoft.Owin.Security.Infrastructure.SecurityHelper)"></member>
  427. <member name="T:Microsoft.Owin.Security.Notifications.AuthenticationFailedNotification`2">
  428. <typeparam name="TMessage"></typeparam>
  429. <typeparam name="TOptions"></typeparam>
  430. </member>
  431. <member name="M:Microsoft.Owin.Security.Notifications.AuthenticationFailedNotification`2.#ctor(Microsoft.Owin.IOwinContext,`1)"></member>
  432. <member name="P:Microsoft.Owin.Security.Notifications.AuthenticationFailedNotification`2.Exception"></member>
  433. <member name="P:Microsoft.Owin.Security.Notifications.AuthenticationFailedNotification`2.ProtocolMessage"></member>
  434. <member name="T:Microsoft.Owin.Security.Notifications.BaseNotification`1">
  435. <typeparam name="TOptions"></typeparam>
  436. </member>
  437. <member name="M:Microsoft.Owin.Security.Notifications.BaseNotification`1.#ctor(Microsoft.Owin.IOwinContext,`0)"></member>
  438. <member name="P:Microsoft.Owin.Security.Notifications.BaseNotification`1.HandledResponse"></member>
  439. <member name="M:Microsoft.Owin.Security.Notifications.BaseNotification`1.HandleResponse">
  440. <summary>停止针对此请求的所有处理并返回到客户端。调用方负责生成完整响应。</summary>
  441. </member>
  442. <member name="P:Microsoft.Owin.Security.Notifications.BaseNotification`1.Skipped"></member>
  443. <member name="M:Microsoft.Owin.Security.Notifications.BaseNotification`1.SkipToNextMiddleware">
  444. <summary>停止处理当前中间件中的请求并将控制权传递给下一个项。</summary>
  445. </member>
  446. <member name="P:Microsoft.Owin.Security.Notifications.BaseNotification`1.State"></member>
  447. <member name="T:Microsoft.Owin.Security.Notifications.MessageReceivedNotification`2">
  448. <typeparam name="TMessage"></typeparam>
  449. <typeparam name="TOptions"></typeparam>
  450. </member>
  451. <member name="M:Microsoft.Owin.Security.Notifications.MessageReceivedNotification`2.#ctor(Microsoft.Owin.IOwinContext,`1)"></member>
  452. <member name="P:Microsoft.Owin.Security.Notifications.MessageReceivedNotification`2.ProtocolMessage"></member>
  453. <member name="T:Microsoft.Owin.Security.Notifications.NotificationResultState"></member>
  454. <member name="F:Microsoft.Owin.Security.Notifications.NotificationResultState.Continue">
  455. <summary>继续正常处理。</summary>
  456. </member>
  457. <member name="F:Microsoft.Owin.Security.Notifications.NotificationResultState.HandledResponse">
  458. <summary>停止针对此请求的所有处理。</summary>
  459. </member>
  460. <member name="F:Microsoft.Owin.Security.Notifications.NotificationResultState.Skipped">
  461. <summary>停止处理当前中间件中的请求并将控制权传递给下一个项。</summary>
  462. </member>
  463. <member name="T:Microsoft.Owin.Security.Notifications.RedirectToIdentityProviderNotification`2">
  464. <typeparam name="TMessage"></typeparam>
  465. <typeparam name="TOptions"></typeparam>
  466. </member>
  467. <member name="M:Microsoft.Owin.Security.Notifications.RedirectToIdentityProviderNotification`2.#ctor(Microsoft.Owin.IOwinContext,`1)"></member>
  468. <member name="P:Microsoft.Owin.Security.Notifications.RedirectToIdentityProviderNotification`2.HandledResponse"></member>
  469. <member name="M:Microsoft.Owin.Security.Notifications.RedirectToIdentityProviderNotification`2.HandleResponse">
  470. <summary>停止针对此请求的所有处理并返回到客户端。调用方负责生成完整响应。</summary>
  471. </member>
  472. <member name="P:Microsoft.Owin.Security.Notifications.RedirectToIdentityProviderNotification`2.ProtocolMessage"></member>
  473. <member name="P:Microsoft.Owin.Security.Notifications.RedirectToIdentityProviderNotification`2.State"></member>
  474. <member name="T:Microsoft.Owin.Security.Notifications.SecurityTokenReceivedNotification`2">
  475. <typeparam name="TMessage"></typeparam>
  476. <typeparam name="TOptions"></typeparam>
  477. </member>
  478. <member name="M:Microsoft.Owin.Security.Notifications.SecurityTokenReceivedNotification`2.#ctor(Microsoft.Owin.IOwinContext,`1)"></member>
  479. <member name="P:Microsoft.Owin.Security.Notifications.SecurityTokenReceivedNotification`2.ProtocolMessage"></member>
  480. <member name="T:Microsoft.Owin.Security.Notifications.SecurityTokenValidatedNotification`2">
  481. <typeparam name="TMessage"></typeparam>
  482. <typeparam name="TOptions"></typeparam>
  483. </member>
  484. <member name="M:Microsoft.Owin.Security.Notifications.SecurityTokenValidatedNotification`2.#ctor(Microsoft.Owin.IOwinContext,`1)"></member>
  485. <member name="P:Microsoft.Owin.Security.Notifications.SecurityTokenValidatedNotification`2.AuthenticationTicket">
  486. <summary>获取或设置 <see cref="P:Microsoft.Owin.Security.Notifications.SecurityTokenValidatedNotification`2.AuthenticationTicket" /></summary>
  487. </member>
  488. <member name="P:Microsoft.Owin.Security.Notifications.SecurityTokenValidatedNotification`2.ProtocolMessage">
  489. <summary>获取或设置协议消息</summary>
  490. </member>
  491. <member name="T:Microsoft.Owin.Security.Provider.BaseContext">
  492. <summary>表示基上下文。</summary>
  493. </member>
  494. <member name="M:Microsoft.Owin.Security.Provider.BaseContext.#ctor(Microsoft.Owin.IOwinContext)"></member>
  495. <member name="P:Microsoft.Owin.Security.Provider.BaseContext.OwinContext"></member>
  496. <member name="P:Microsoft.Owin.Security.Provider.BaseContext.Request"></member>
  497. <member name="P:Microsoft.Owin.Security.Provider.BaseContext.Response"></member>
  498. <member name="T:Microsoft.Owin.Security.Provider.BaseContext`1">
  499. <summary>用于特定事件上下文的基类</summary>
  500. <typeparam name="TOptions"></typeparam>
  501. </member>
  502. <member name="M:Microsoft.Owin.Security.Provider.BaseContext`1.#ctor(Microsoft.Owin.IOwinContext,`0)"></member>
  503. <member name="P:Microsoft.Owin.Security.Provider.BaseContext`1.Options"></member>
  504. <member name="P:Microsoft.Owin.Security.Provider.BaseContext`1.OwinContext"></member>
  505. <member name="P:Microsoft.Owin.Security.Provider.BaseContext`1.Request"></member>
  506. <member name="P:Microsoft.Owin.Security.Provider.BaseContext`1.Response"></member>
  507. <member name="T:Microsoft.Owin.Security.Provider.EndpointContext">
  508. <summary>表示终结点上下文。</summary>
  509. </member>
  510. <member name="M:Microsoft.Owin.Security.Provider.EndpointContext.#ctor(Microsoft.Owin.IOwinContext)"></member>
  511. <member name="P:Microsoft.Owin.Security.Provider.EndpointContext.IsRequestCompleted">
  512. <summary>获取或设置一个值,该值指示此上下文的请求是否已完成。</summary>
  513. <returns>如果此上下文的请求已完成,则为 true;否则为 false。</returns>
  514. </member>
  515. <member name="M:Microsoft.Owin.Security.Provider.EndpointContext.RequestCompleted">
  516. <summary>指示上下文的已完成请求。</summary>
  517. </member>
  518. <member name="T:Microsoft.Owin.Security.Provider.EndpointContext`1">
  519. <summary>用于特定事件上下文的基类</summary>
  520. <typeparam name="TOptions"></typeparam>
  521. </member>
  522. <member name="M:Microsoft.Owin.Security.Provider.EndpointContext`1.#ctor(Microsoft.Owin.IOwinContext,`0)">
  523. <summary>创建此上下文的实例</summary>
  524. </member>
  525. <member name="P:Microsoft.Owin.Security.Provider.EndpointContext`1.IsRequestCompleted">
  526. <summary>如果不应由其他组件进一步处理请求,则返回 True。</summary>
  527. </member>
  528. <member name="M:Microsoft.Owin.Security.Provider.EndpointContext`1.RequestCompleted">
  529. <summary>阻止其他组件进一步处理请求。调用后,IsRequestCompleted 将为 true。</summary>
  530. </member>
  531. <member name="T:Microsoft.Owin.Security.Provider.ReturnEndpointContext">
  532. <summary>表示返回终结点上下文。</summary>
  533. </member>
  534. <member name="M:Microsoft.Owin.Security.Provider.ReturnEndpointContext.#ctor(Microsoft.Owin.IOwinContext,Microsoft.Owin.Security.AuthenticationTicket)"></member>
  535. <member name="P:Microsoft.Owin.Security.Provider.ReturnEndpointContext.Identity">
  536. <summary>获取或设置此上下文的标识。</summary>
  537. <returns>此上下文的标识。</returns>
  538. </member>
  539. <member name="P:Microsoft.Owin.Security.Provider.ReturnEndpointContext.Properties"></member>
  540. <member name="P:Microsoft.Owin.Security.Provider.ReturnEndpointContext.RedirectUri">
  541. <summary>获取或设置返回此上下文时使用的 URI。</summary>
  542. <returns>返回此上下文时使用的 URI。</returns>
  543. </member>
  544. <member name="P:Microsoft.Owin.Security.Provider.ReturnEndpointContext.SignInAsAuthenticationType">
  545. <summary>获取或设置作为身份验证类型登录的上下文。</summary>
  546. <returns>作为身份验证类型登录的上下文。</returns>
  547. </member>
  548. </members>
  549. </doc>