-
Notifications
You must be signed in to change notification settings - Fork 113
/
DataProtectionCommonExtensions.xml
369 lines (369 loc) · 27.3 KB
/
DataProtectionCommonExtensions.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
<Type Name="DataProtectionCommonExtensions" FullName="Microsoft.AspNetCore.DataProtection.DataProtectionCommonExtensions">
<TypeSignature Language="C++ CLI" Value="public ref class DataProtectionCommonExtensions abstract sealed" />
<TypeSignature Language="C#" Value="public static class DataProtectionCommonExtensions" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi abstract sealed beforefieldinit DataProtectionCommonExtensions extends System.Object" />
<TypeSignature Language="DocId" Value="T:Microsoft.AspNetCore.DataProtection.DataProtectionCommonExtensions" />
<TypeSignature Language="VB.NET" Value="Public Module DataProtectionCommonExtensions" />
<TypeSignature Language="F#" Value="type DataProtectionCommonExtensions = class" />
<AssemblyInfo>
<AssemblyName>Microsoft.AspNetCore.DataProtection.Abstractions</AssemblyName>
<AssemblyVersion>1.0.0.0</AssemblyVersion>
<AssemblyVersion>1.1.0.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>2.1.0.0</AssemblyVersion>
<AssemblyVersion>2.2.0.0</AssemblyVersion>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>3.0.3.0</AssemblyVersion>
<AssemblyVersion>3.1.0.0</AssemblyVersion>
<AssemblyVersion>3.1.18.0</AssemblyVersion>
<AssemblyVersion>5.0.0.0</AssemblyVersion>
<AssemblyVersion>6.0.0.0</AssemblyVersion>
<AssemblyVersion>7.0.0.0</AssemblyVersion>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>System.Object</BaseTypeName>
</Base>
<Interfaces />
<Attributes>
<Attribute FrameworkAlternate="aspnetcore-8.0;aspnetcore-9.0">
<AttributeName Language="C#">[System.Runtime.CompilerServices.Nullable(0)]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.CompilerServices.Nullable(0)>]</AttributeName>
</Attribute>
<Attribute FrameworkAlternate="aspnetcore-8.0;aspnetcore-9.0">
<AttributeName Language="C#">[System.Runtime.CompilerServices.NullableContext(1)]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.CompilerServices.NullableContext(1)>]</AttributeName>
</Attribute>
</Attributes>
<Docs>
<summary>
Helpful extension methods for data protection APIs.
</summary>
<remarks>To be added.</remarks>
</Docs>
<Members>
<Member MemberName="CreateProtector">
<MemberSignature Language="C++ CLI" Value="public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::DataProtection::IDataProtector ^ CreateProtector(Microsoft::AspNetCore::DataProtection::IDataProtectionProvider ^ provider, System::Collections::Generic::IEnumerable<System::String ^> ^ purposes);" />
<MemberSignature Language="C#" Value="public static Microsoft.AspNetCore.DataProtection.IDataProtector CreateProtector (this Microsoft.AspNetCore.DataProtection.IDataProtectionProvider provider, System.Collections.Generic.IEnumerable<string> purposes);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class Microsoft.AspNetCore.DataProtection.IDataProtector CreateProtector(class Microsoft.AspNetCore.DataProtection.IDataProtectionProvider provider, class System.Collections.Generic.IEnumerable`1<string> purposes) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.AspNetCore.DataProtection.DataProtectionCommonExtensions.CreateProtector(Microsoft.AspNetCore.DataProtection.IDataProtectionProvider,System.Collections.Generic.IEnumerable{System.String})" />
<MemberSignature Language="VB.NET" Value="<Extension()>
Public Function CreateProtector (provider As IDataProtectionProvider, purposes As IEnumerable(Of String)) As IDataProtector" />
<MemberSignature Language="F#" Value="static member CreateProtector : Microsoft.AspNetCore.DataProtection.IDataProtectionProvider * seq<string> -> Microsoft.AspNetCore.DataProtection.IDataProtector" Usage="Microsoft.AspNetCore.DataProtection.DataProtectionCommonExtensions.CreateProtector (provider, purposes)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.AspNetCore.DataProtection.Abstractions</AssemblyName>
<AssemblyVersion>1.0.0.0</AssemblyVersion>
<AssemblyVersion>1.1.0.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>2.1.0.0</AssemblyVersion>
<AssemblyVersion>2.2.0.0</AssemblyVersion>
<AssemblyVersion>3.0.3.0</AssemblyVersion>
<AssemblyVersion>3.1.18.0</AssemblyVersion>
<AssemblyVersion>5.0.0.0</AssemblyVersion>
<AssemblyVersion>6.0.0.0</AssemblyVersion>
<AssemblyVersion>7.0.0.0</AssemblyVersion>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>Microsoft.AspNetCore.DataProtection.IDataProtector</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="provider" Type="Microsoft.AspNetCore.DataProtection.IDataProtectionProvider" RefType="this" />
<Parameter Name="purposes" Type="System.Collections.Generic.IEnumerable<System.String>" />
</Parameters>
<Docs>
<param name="provider">The <see cref="T:Microsoft.AspNetCore.DataProtection.IDataProtectionProvider" /> from which to generate the purpose chain.</param>
<param name="purposes">The list of purposes which contribute to the purpose chain. This list must
contain at least one element, and it may not contain null elements.</param>
<summary>
Creates an <see cref="T:Microsoft.AspNetCore.DataProtection.IDataProtector" /> given a list of purposes.
</summary>
<returns>An <see cref="T:Microsoft.AspNetCore.DataProtection.IDataProtector" /> tied to the provided purpose chain.</returns>
<remarks>
This is a convenience method which chains together several calls to
<see cref="M:Microsoft.AspNetCore.DataProtection.IDataProtectionProvider.CreateProtector(System.String)" />. See that method's
documentation for more information.
</remarks>
</Docs>
</Member>
<Member MemberName="CreateProtector">
<MemberSignature Language="C++ CLI" Value="public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::DataProtection::IDataProtector ^ CreateProtector(Microsoft::AspNetCore::DataProtection::IDataProtectionProvider ^ provider, System::String ^ purpose, ... cli::array <System::String ^> ^ subPurposes);" />
<MemberSignature Language="C#" Value="public static Microsoft.AspNetCore.DataProtection.IDataProtector CreateProtector (this Microsoft.AspNetCore.DataProtection.IDataProtectionProvider provider, string purpose, params string[] subPurposes);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class Microsoft.AspNetCore.DataProtection.IDataProtector CreateProtector(class Microsoft.AspNetCore.DataProtection.IDataProtectionProvider provider, string purpose, string[] subPurposes) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.AspNetCore.DataProtection.DataProtectionCommonExtensions.CreateProtector(Microsoft.AspNetCore.DataProtection.IDataProtectionProvider,System.String,System.String[])" />
<MemberSignature Language="VB.NET" Value="<Extension()>
Public Function CreateProtector (provider As IDataProtectionProvider, purpose As String, ParamArray subPurposes As String()) As IDataProtector" />
<MemberSignature Language="F#" Value="static member CreateProtector : Microsoft.AspNetCore.DataProtection.IDataProtectionProvider * string * string[] -> Microsoft.AspNetCore.DataProtection.IDataProtector" Usage="Microsoft.AspNetCore.DataProtection.DataProtectionCommonExtensions.CreateProtector (provider, purpose, subPurposes)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.AspNetCore.DataProtection.Abstractions</AssemblyName>
<AssemblyVersion>1.0.0.0</AssemblyVersion>
<AssemblyVersion>1.1.0.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>2.1.0.0</AssemblyVersion>
<AssemblyVersion>2.2.0.0</AssemblyVersion>
<AssemblyVersion>3.0.3.0</AssemblyVersion>
<AssemblyVersion>3.1.18.0</AssemblyVersion>
<AssemblyVersion>5.0.0.0</AssemblyVersion>
<AssemblyVersion>6.0.0.0</AssemblyVersion>
<AssemblyVersion>7.0.0.0</AssemblyVersion>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>Microsoft.AspNetCore.DataProtection.IDataProtector</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="provider" Type="Microsoft.AspNetCore.DataProtection.IDataProtectionProvider" RefType="this" />
<Parameter Name="purpose" Type="System.String" />
<Parameter Name="subPurposes" Type="System.String[]">
<Attributes>
<Attribute>
<AttributeName Language="C#">[System.ParamArray]</AttributeName>
<AttributeName Language="F#">[<System.ParamArray>]</AttributeName>
</Attribute>
</Attributes>
</Parameter>
</Parameters>
<Docs>
<param name="provider">The <see cref="T:Microsoft.AspNetCore.DataProtection.IDataProtectionProvider" /> from which to generate the purpose chain.</param>
<param name="purpose">The primary purpose used to create the <see cref="T:Microsoft.AspNetCore.DataProtection.IDataProtector" />.</param>
<param name="subPurposes">An optional list of secondary purposes which contribute to the purpose chain.
If this list is provided it cannot contain null elements.</param>
<summary>
Creates an <see cref="T:Microsoft.AspNetCore.DataProtection.IDataProtector" /> given a list of purposes.
</summary>
<returns>An <see cref="T:Microsoft.AspNetCore.DataProtection.IDataProtector" /> tied to the provided purpose chain.</returns>
<remarks>
This is a convenience method which chains together several calls to
<see cref="M:Microsoft.AspNetCore.DataProtection.IDataProtectionProvider.CreateProtector(System.String)" />. See that method's
documentation for more information.
</remarks>
</Docs>
</Member>
<Member MemberName="GetDataProtectionProvider">
<MemberSignature Language="C++ CLI" Value="public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::DataProtection::IDataProtectionProvider ^ GetDataProtectionProvider(IServiceProvider ^ services);" />
<MemberSignature Language="C#" Value="public static Microsoft.AspNetCore.DataProtection.IDataProtectionProvider GetDataProtectionProvider (this IServiceProvider services);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class Microsoft.AspNetCore.DataProtection.IDataProtectionProvider GetDataProtectionProvider(class System.IServiceProvider services) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.AspNetCore.DataProtection.DataProtectionCommonExtensions.GetDataProtectionProvider(System.IServiceProvider)" />
<MemberSignature Language="VB.NET" Value="<Extension()>
Public Function GetDataProtectionProvider (services As IServiceProvider) As IDataProtectionProvider" />
<MemberSignature Language="F#" Value="static member GetDataProtectionProvider : IServiceProvider -> Microsoft.AspNetCore.DataProtection.IDataProtectionProvider" Usage="Microsoft.AspNetCore.DataProtection.DataProtectionCommonExtensions.GetDataProtectionProvider services" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.AspNetCore.DataProtection.Abstractions</AssemblyName>
<AssemblyVersion>1.0.0.0</AssemblyVersion>
<AssemblyVersion>1.1.0.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>2.1.0.0</AssemblyVersion>
<AssemblyVersion>2.2.0.0</AssemblyVersion>
<AssemblyVersion>3.0.3.0</AssemblyVersion>
<AssemblyVersion>3.1.18.0</AssemblyVersion>
<AssemblyVersion>5.0.0.0</AssemblyVersion>
<AssemblyVersion>6.0.0.0</AssemblyVersion>
<AssemblyVersion>7.0.0.0</AssemblyVersion>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>Microsoft.AspNetCore.DataProtection.IDataProtectionProvider</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="services" Type="System.IServiceProvider" RefType="this" />
</Parameters>
<Docs>
<param name="services">The service provider from which to retrieve the <see cref="T:Microsoft.AspNetCore.DataProtection.IDataProtectionProvider" />.</param>
<summary>
Retrieves an <see cref="T:Microsoft.AspNetCore.DataProtection.IDataProtectionProvider" /> from an <see cref="T:System.IServiceProvider" />.
</summary>
<returns>An <see cref="T:Microsoft.AspNetCore.DataProtection.IDataProtectionProvider" />. This method is guaranteed never to return null.</returns>
<remarks>To be added.</remarks>
<exception cref="T:System.InvalidOperationException">If no <see cref="T:Microsoft.AspNetCore.DataProtection.IDataProtectionProvider" /> service exists in <paramref name="services" />.</exception>
</Docs>
</Member>
<Member MemberName="GetDataProtector">
<MemberSignature Language="C++ CLI" Value="public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::DataProtection::IDataProtector ^ GetDataProtector(IServiceProvider ^ services, System::Collections::Generic::IEnumerable<System::String ^> ^ purposes);" />
<MemberSignature Language="C#" Value="public static Microsoft.AspNetCore.DataProtection.IDataProtector GetDataProtector (this IServiceProvider services, System.Collections.Generic.IEnumerable<string> purposes);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class Microsoft.AspNetCore.DataProtection.IDataProtector GetDataProtector(class System.IServiceProvider services, class System.Collections.Generic.IEnumerable`1<string> purposes) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.AspNetCore.DataProtection.DataProtectionCommonExtensions.GetDataProtector(System.IServiceProvider,System.Collections.Generic.IEnumerable{System.String})" />
<MemberSignature Language="VB.NET" Value="<Extension()>
Public Function GetDataProtector (services As IServiceProvider, purposes As IEnumerable(Of String)) As IDataProtector" />
<MemberSignature Language="F#" Value="static member GetDataProtector : IServiceProvider * seq<string> -> Microsoft.AspNetCore.DataProtection.IDataProtector" Usage="Microsoft.AspNetCore.DataProtection.DataProtectionCommonExtensions.GetDataProtector (services, purposes)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.AspNetCore.DataProtection.Abstractions</AssemblyName>
<AssemblyVersion>1.0.0.0</AssemblyVersion>
<AssemblyVersion>1.1.0.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>2.1.0.0</AssemblyVersion>
<AssemblyVersion>2.2.0.0</AssemblyVersion>
<AssemblyVersion>3.0.3.0</AssemblyVersion>
<AssemblyVersion>3.1.18.0</AssemblyVersion>
<AssemblyVersion>5.0.0.0</AssemblyVersion>
<AssemblyVersion>6.0.0.0</AssemblyVersion>
<AssemblyVersion>7.0.0.0</AssemblyVersion>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>Microsoft.AspNetCore.DataProtection.IDataProtector</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="services" Type="System.IServiceProvider" RefType="this" />
<Parameter Name="purposes" Type="System.Collections.Generic.IEnumerable<System.String>" />
</Parameters>
<Docs>
<param name="services">An <see cref="T:System.IServiceProvider" /> which contains the <see cref="T:Microsoft.AspNetCore.DataProtection.IDataProtectionProvider" />
from which to generate the purpose chain.</param>
<param name="purposes">The list of purposes which contribute to the purpose chain. This list must
contain at least one element, and it may not contain null elements.</param>
<summary>
Retrieves an <see cref="T:Microsoft.AspNetCore.DataProtection.IDataProtector" /> from an <see cref="T:System.IServiceProvider" /> given a list of purposes.
</summary>
<returns>An <see cref="T:Microsoft.AspNetCore.DataProtection.IDataProtector" /> tied to the provided purpose chain.</returns>
<remarks>
This is a convenience method which calls <see cref="M:Microsoft.AspNetCore.DataProtection.DataProtectionCommonExtensions.GetDataProtectionProvider(System.IServiceProvider)" />
then <see cref="M:Microsoft.AspNetCore.DataProtection.DataProtectionCommonExtensions.CreateProtector(Microsoft.AspNetCore.DataProtection.IDataProtectionProvider,System.Collections.Generic.IEnumerable{System.String})" />. See those methods'
documentation for more information.
</remarks>
</Docs>
</Member>
<Member MemberName="GetDataProtector">
<MemberSignature Language="C++ CLI" Value="public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::DataProtection::IDataProtector ^ GetDataProtector(IServiceProvider ^ services, System::String ^ purpose, ... cli::array <System::String ^> ^ subPurposes);" />
<MemberSignature Language="C#" Value="public static Microsoft.AspNetCore.DataProtection.IDataProtector GetDataProtector (this IServiceProvider services, string purpose, params string[] subPurposes);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class Microsoft.AspNetCore.DataProtection.IDataProtector GetDataProtector(class System.IServiceProvider services, string purpose, string[] subPurposes) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.AspNetCore.DataProtection.DataProtectionCommonExtensions.GetDataProtector(System.IServiceProvider,System.String,System.String[])" />
<MemberSignature Language="VB.NET" Value="<Extension()>
Public Function GetDataProtector (services As IServiceProvider, purpose As String, ParamArray subPurposes As String()) As IDataProtector" />
<MemberSignature Language="F#" Value="static member GetDataProtector : IServiceProvider * string * string[] -> Microsoft.AspNetCore.DataProtection.IDataProtector" Usage="Microsoft.AspNetCore.DataProtection.DataProtectionCommonExtensions.GetDataProtector (services, purpose, subPurposes)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.AspNetCore.DataProtection.Abstractions</AssemblyName>
<AssemblyVersion>1.0.0.0</AssemblyVersion>
<AssemblyVersion>1.1.0.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>2.1.0.0</AssemblyVersion>
<AssemblyVersion>2.2.0.0</AssemblyVersion>
<AssemblyVersion>3.0.3.0</AssemblyVersion>
<AssemblyVersion>3.1.18.0</AssemblyVersion>
<AssemblyVersion>5.0.0.0</AssemblyVersion>
<AssemblyVersion>6.0.0.0</AssemblyVersion>
<AssemblyVersion>7.0.0.0</AssemblyVersion>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>Microsoft.AspNetCore.DataProtection.IDataProtector</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="services" Type="System.IServiceProvider" RefType="this" />
<Parameter Name="purpose" Type="System.String" />
<Parameter Name="subPurposes" Type="System.String[]">
<Attributes>
<Attribute>
<AttributeName Language="C#">[System.ParamArray]</AttributeName>
<AttributeName Language="F#">[<System.ParamArray>]</AttributeName>
</Attribute>
</Attributes>
</Parameter>
</Parameters>
<Docs>
<param name="services">An <see cref="T:System.IServiceProvider" /> which contains the <see cref="T:Microsoft.AspNetCore.DataProtection.IDataProtectionProvider" />
from which to generate the purpose chain.</param>
<param name="purpose">The primary purpose used to create the <see cref="T:Microsoft.AspNetCore.DataProtection.IDataProtector" />.</param>
<param name="subPurposes">An optional list of secondary purposes which contribute to the purpose chain.
If this list is provided it cannot contain null elements.</param>
<summary>
Retrieves an <see cref="T:Microsoft.AspNetCore.DataProtection.IDataProtector" /> from an <see cref="T:System.IServiceProvider" /> given a list of purposes.
</summary>
<returns>An <see cref="T:Microsoft.AspNetCore.DataProtection.IDataProtector" /> tied to the provided purpose chain.</returns>
<remarks>
This is a convenience method which calls <see cref="M:Microsoft.AspNetCore.DataProtection.DataProtectionCommonExtensions.GetDataProtectionProvider(System.IServiceProvider)" />
then <see cref="M:Microsoft.AspNetCore.DataProtection.DataProtectionCommonExtensions.CreateProtector(Microsoft.AspNetCore.DataProtection.IDataProtectionProvider,System.String,System.String[])" />. See those methods'
documentation for more information.
</remarks>
</Docs>
</Member>
<Member MemberName="Protect">
<MemberSignature Language="C++ CLI" Value="public:
[System::Runtime::CompilerServices::Extension]
 static System::String ^ Protect(Microsoft::AspNetCore::DataProtection::IDataProtector ^ protector, System::String ^ plaintext);" />
<MemberSignature Language="C#" Value="public static string Protect (this Microsoft.AspNetCore.DataProtection.IDataProtector protector, string plaintext);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig string Protect(class Microsoft.AspNetCore.DataProtection.IDataProtector protector, string plaintext) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.AspNetCore.DataProtection.DataProtectionCommonExtensions.Protect(Microsoft.AspNetCore.DataProtection.IDataProtector,System.String)" />
<MemberSignature Language="VB.NET" Value="<Extension()>
Public Function Protect (protector As IDataProtector, plaintext As String) As String" />
<MemberSignature Language="F#" Value="static member Protect : Microsoft.AspNetCore.DataProtection.IDataProtector * string -> string" Usage="Microsoft.AspNetCore.DataProtection.DataProtectionCommonExtensions.Protect (protector, plaintext)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.AspNetCore.DataProtection.Abstractions</AssemblyName>
<AssemblyVersion>1.0.0.0</AssemblyVersion>
<AssemblyVersion>1.1.0.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>2.1.0.0</AssemblyVersion>
<AssemblyVersion>2.2.0.0</AssemblyVersion>
<AssemblyVersion>3.0.3.0</AssemblyVersion>
<AssemblyVersion>3.1.18.0</AssemblyVersion>
<AssemblyVersion>5.0.0.0</AssemblyVersion>
<AssemblyVersion>6.0.0.0</AssemblyVersion>
<AssemblyVersion>7.0.0.0</AssemblyVersion>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="protector" Type="Microsoft.AspNetCore.DataProtection.IDataProtector" RefType="this" />
<Parameter Name="plaintext" Type="System.String" />
</Parameters>
<Docs>
<param name="protector">The data protector to use for this operation.</param>
<param name="plaintext">The plaintext data to protect.</param>
<summary>
Cryptographically protects a piece of plaintext data.
</summary>
<returns>The protected form of the plaintext data.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="Unprotect">
<MemberSignature Language="C++ CLI" Value="public:
[System::Runtime::CompilerServices::Extension]
 static System::String ^ Unprotect(Microsoft::AspNetCore::DataProtection::IDataProtector ^ protector, System::String ^ protectedData);" />
<MemberSignature Language="C#" Value="public static string Unprotect (this Microsoft.AspNetCore.DataProtection.IDataProtector protector, string protectedData);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig string Unprotect(class Microsoft.AspNetCore.DataProtection.IDataProtector protector, string protectedData) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.AspNetCore.DataProtection.DataProtectionCommonExtensions.Unprotect(Microsoft.AspNetCore.DataProtection.IDataProtector,System.String)" />
<MemberSignature Language="VB.NET" Value="<Extension()>
Public Function Unprotect (protector As IDataProtector, protectedData As String) As String" />
<MemberSignature Language="F#" Value="static member Unprotect : Microsoft.AspNetCore.DataProtection.IDataProtector * string -> string" Usage="Microsoft.AspNetCore.DataProtection.DataProtectionCommonExtensions.Unprotect (protector, protectedData)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.AspNetCore.DataProtection.Abstractions</AssemblyName>
<AssemblyVersion>1.0.0.0</AssemblyVersion>
<AssemblyVersion>1.1.0.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>2.1.0.0</AssemblyVersion>
<AssemblyVersion>2.2.0.0</AssemblyVersion>
<AssemblyVersion>3.0.3.0</AssemblyVersion>
<AssemblyVersion>3.1.18.0</AssemblyVersion>
<AssemblyVersion>5.0.0.0</AssemblyVersion>
<AssemblyVersion>6.0.0.0</AssemblyVersion>
<AssemblyVersion>7.0.0.0</AssemblyVersion>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="protector" Type="Microsoft.AspNetCore.DataProtection.IDataProtector" RefType="this" />
<Parameter Name="protectedData" Type="System.String" />
</Parameters>
<Docs>
<param name="protector">The data protector to use for this operation.</param>
<param name="protectedData">The protected data to unprotect.</param>
<summary>
Cryptographically unprotects a piece of protected data.
</summary>
<returns>The plaintext form of the protected data.</returns>
<remarks>To be added.</remarks>
<exception cref="T:System.Security.Cryptography.CryptographicException">
Thrown if <paramref name="protectedData" /> is invalid or malformed.
</exception>
</Docs>
</Member>
</Members>
</Type>