-
Notifications
You must be signed in to change notification settings - Fork 32
/
TokenCache.xml
860 lines (860 loc) Β· 57.8 KB
/
TokenCache.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
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
<Type Name="TokenCache" FullName="Microsoft.Identity.Client.TokenCache">
<TypeSignature Language="C#" Value="public sealed class TokenCache" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi sealed beforefieldinit TokenCache extends System.Object implements class Microsoft.Identity.Client.ITokenCache, class Microsoft.Identity.Client.ITokenCacheSerializer" />
<TypeSignature Language="DocId" Value="T:Microsoft.Identity.Client.TokenCache" />
<TypeSignature Language="VB.NET" Value="Public NotInheritable Class TokenCache" />
<TypeSignature Language="F#" Value="type TokenCache = class
 interface ITokenCache
 interface ITokenCacheSerializer" />
<AssemblyInfo>
<AssemblyName>Microsoft.Identity.Client</AssemblyName>
<AssemblyVersion>4.48.1.0</AssemblyVersion>
<AssemblyVersion>4.49.1.0</AssemblyVersion>
<AssemblyVersion>4.51.0.0</AssemblyVersion>
<AssemblyVersion>4.52.0.0</AssemblyVersion>
<AssemblyVersion>4.53.0.0</AssemblyVersion>
<AssemblyVersion>4.54.0.0</AssemblyVersion>
<AssemblyVersion>4.54.1.0</AssemblyVersion>
<AssemblyVersion>4.55.0.0</AssemblyVersion>
<AssemblyVersion>4.56.0.0</AssemblyVersion>
<AssemblyVersion>4.57.0.0</AssemblyVersion>
<AssemblyVersion>4.58.0.0</AssemblyVersion>
<AssemblyVersion>4.58.1.0</AssemblyVersion>
<AssemblyVersion>4.59.0.0</AssemblyVersion>
<AssemblyVersion>4.60.0.0</AssemblyVersion>
<AssemblyVersion>4.60.1.0</AssemblyVersion>
<AssemblyVersion>4.60.2.0</AssemblyVersion>
<AssemblyVersion>4.60.3.0</AssemblyVersion>
<AssemblyVersion>4.61.0.0</AssemblyVersion>
<AssemblyVersion>4.61.1.0</AssemblyVersion>
<AssemblyVersion>4.61.3.0</AssemblyVersion>
<AssemblyVersion>4.62.0.0</AssemblyVersion>
<AssemblyVersion>4.63.0.0</AssemblyVersion>
<AssemblyVersion>4.64.0.0</AssemblyVersion>
<AssemblyVersion>4.64.1.0</AssemblyVersion>
<AssemblyVersion>4.65.0.0</AssemblyVersion>
<AssemblyVersion>4.66.0.0</AssemblyVersion>
<AssemblyVersion>4.66.1.0</AssemblyVersion>
<AssemblyVersion>4.66.2.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>System.Object</BaseTypeName>
</Base>
<Interfaces>
<Interface>
<InterfaceName>Microsoft.Identity.Client.ITokenCache</InterfaceName>
</Interface>
<Interface>
<InterfaceName>Microsoft.Identity.Client.ITokenCacheSerializer</InterfaceName>
</Interface>
</Interfaces>
<Docs>
<summary>
Token cache storing access and refresh tokens for accounts
This class is used in the constructors of <see cref="T:Microsoft.Identity.Client.PublicClientApplication" /> and <see cref="T:Microsoft.Identity.Client.ConfidentialClientApplication" />.
In the case of ConfidentialClientApplication, two instances are used, one for the user token cache, and one for the application
token cache (in the case of applications using the client credential flows).
</summary>
<remarks>To be added.</remarks>
</Docs>
<Members>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public TokenCache ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor() cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.Identity.Client.TokenCache.#ctor" />
<MemberSignature Language="VB.NET" Value="Public Sub New ()" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.Identity.Client</AssemblyName>
<AssemblyVersion>4.66.2.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]</AttributeName>
<AttributeName Language="F#">[<System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Obsolete("The recommended way to get a cache is by using IClientApplicationBase.UserTokenCache or IClientApplicationBase.AppTokenCache")]</AttributeName>
<AttributeName Language="F#">[<System.Obsolete("The recommended way to get a cache is by using IClientApplicationBase.UserTokenCache or IClientApplicationBase.AppTokenCache")>]</AttributeName>
</Attribute>
</Attributes>
<Parameters />
<Docs>
<summary>
Constructor of a token cache. This constructor is left for compatibility with MSAL 2.x.
The recommended way to get a cache is by using <see cref="P:Microsoft.Identity.Client.IClientApplicationBase.UserTokenCache" />
and <c>IConfidentialClientApplication.AppTokenCache</c> once the app is created.
</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="Deserialize">
<MemberSignature Language="C#" Value="public void Deserialize (byte[] msalV2State);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void Deserialize(unsigned int8[] msalV2State) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.Identity.Client.TokenCache.Deserialize(System.Byte[])" />
<MemberSignature Language="VB.NET" Value="Public Sub Deserialize (msalV2State As Byte())" />
<MemberSignature Language="F#" Value="abstract member Deserialize : byte[] -> unit
override this.Deserialize : byte[] -> unit" Usage="tokenCache.Deserialize msalV2State" />
<MemberType>Method</MemberType>
<Implements>
<InterfaceMember>M:Microsoft.Identity.Client.ITokenCache.Deserialize(System.Byte[])</InterfaceMember>
</Implements>
<AssemblyInfo>
<AssemblyName>Microsoft.Identity.Client</AssemblyName>
<AssemblyVersion>4.66.2.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]</AttributeName>
<AttributeName Language="F#">[<System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Obsolete("This is expected to be removed in MSAL.NET v5. We recommend using SerializeMsalV3/DeserializeMsalV3. Read more: https://aka.ms/msal-net-3x-cache-breaking-change", false)]</AttributeName>
<AttributeName Language="F#">[<System.Obsolete("This is expected to be removed in MSAL.NET v5. We recommend using SerializeMsalV3/DeserializeMsalV3. Read more: https://aka.ms/msal-net-3x-cache-breaking-change", false)>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="msalV2State" Type="System.Byte[]" />
</Parameters>
<Docs>
<param name="msalV2State">Array of bytes containing serialized MSAL.NET V2 cache data</param>
<summary>
Deserializes the token cache from a serialization blob in the unified cache format
Obsolete: Please use specialized Deserialization methods.
<see cref="M:Microsoft.Identity.Client.ITokenCacheSerializer.DeserializeMsalV2(System.Byte[])" /> replaces <see cref="M:Microsoft.Identity.Client.TokenCache.Deserialize(System.Byte[])" /><see cref="M:Microsoft.Identity.Client.ITokenCacheSerializer.SerializeMsalV3" />/<see cref="M:Microsoft.Identity.Client.ITokenCacheSerializer.DeserializeMsalV3(System.Byte[],System.Boolean)" /> Is our recommended way of serializing/deserializing.
<see cref="M:Microsoft.Identity.Client.ITokenCacheSerializer.DeserializeAdalV3(System.Byte[])" /> For interoperability with ADAL.NET v3
</summary>
<remarks>
<see cref="M:Microsoft.Identity.Client.ITokenCacheSerializer.SerializeMsalV3" />/<see cref="M:Microsoft.Identity.Client.ITokenCacheSerializer.DeserializeMsalV3(System.Byte[],System.Boolean)" /> is compatible with other MSAL libraries such as MSAL for Python and MSAL for Java.
<paramref name="msalV2State" />Is a Json blob containing access tokens, refresh tokens, id tokens and accounts information.
</remarks>
</Docs>
</Member>
<Member MemberName="DeserializeAdalV3">
<MemberSignature Language="C#" Value="public void DeserializeAdalV3 (byte[] adalV3State);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void DeserializeAdalV3(unsigned int8[] adalV3State) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.Identity.Client.TokenCache.DeserializeAdalV3(System.Byte[])" />
<MemberSignature Language="VB.NET" Value="Public Sub DeserializeAdalV3 (adalV3State As Byte())" />
<MemberSignature Language="F#" Value="abstract member DeserializeAdalV3 : byte[] -> unit
override this.DeserializeAdalV3 : byte[] -> unit" Usage="tokenCache.DeserializeAdalV3 adalV3State" />
<MemberType>Method</MemberType>
<Implements>
<InterfaceMember>M:Microsoft.Identity.Client.ITokenCache.DeserializeAdalV3(System.Byte[])</InterfaceMember>
</Implements>
<AssemblyInfo>
<AssemblyName>Microsoft.Identity.Client</AssemblyName>
<AssemblyVersion>4.66.2.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]</AttributeName>
<AttributeName Language="F#">[<System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Obsolete("This is removed in MSAL.NET v4. Read more: https://aka.ms/msal-net-4x-cache-breaking-change", false)]</AttributeName>
<AttributeName Language="F#">[<System.Obsolete("This is removed in MSAL.NET v4. Read more: https://aka.ms/msal-net-4x-cache-breaking-change", false)>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="adalV3State" Type="System.Byte[]" />
</Parameters>
<Docs>
<param name="adalV3State">To be added.</param>
<summary>
This is removed in MSAL.NET v4. Read more: https://aka.ms/msal-net-4x-cache-breaking-change
</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="DeserializeMsalV2">
<MemberSignature Language="C#" Value="public void DeserializeMsalV2 (byte[] msalV2State);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void DeserializeMsalV2(unsigned int8[] msalV2State) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.Identity.Client.TokenCache.DeserializeMsalV2(System.Byte[])" />
<MemberSignature Language="VB.NET" Value="Public Sub DeserializeMsalV2 (msalV2State As Byte())" />
<MemberSignature Language="F#" Value="abstract member DeserializeMsalV2 : byte[] -> unit
override this.DeserializeMsalV2 : byte[] -> unit" Usage="tokenCache.DeserializeMsalV2 msalV2State" />
<MemberType>Method</MemberType>
<Implements>
<InterfaceMember>M:Microsoft.Identity.Client.ITokenCache.DeserializeMsalV2(System.Byte[])</InterfaceMember>
</Implements>
<AssemblyInfo>
<AssemblyName>Microsoft.Identity.Client</AssemblyName>
<AssemblyVersion>4.66.2.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]</AttributeName>
<AttributeName Language="F#">[<System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Obsolete("This is removed in MSAL.NET v4. Read more: https://aka.ms/msal-net-4x-cache-breaking-change", false)]</AttributeName>
<AttributeName Language="F#">[<System.Obsolete("This is removed in MSAL.NET v4. Read more: https://aka.ms/msal-net-4x-cache-breaking-change", false)>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="msalV2State" Type="System.Byte[]" />
</Parameters>
<Docs>
<param name="msalV2State">To be added.</param>
<summary>
This is removed in MSAL.NET v4. Read more: https://aka.ms/msal-net-4x-cache-breaking-change
</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="DeserializeMsalV3">
<MemberSignature Language="C#" Value="public void DeserializeMsalV3 (byte[] msalV3State, bool shouldClearExistingCache);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void DeserializeMsalV3(unsigned int8[] msalV3State, bool shouldClearExistingCache) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.Identity.Client.TokenCache.DeserializeMsalV3(System.Byte[],System.Boolean)" />
<MemberSignature Language="VB.NET" Value="Public Sub DeserializeMsalV3 (msalV3State As Byte(), shouldClearExistingCache As Boolean)" />
<MemberSignature Language="F#" Value="abstract member DeserializeMsalV3 : byte[] * bool -> unit
override this.DeserializeMsalV3 : byte[] * bool -> unit" Usage="tokenCache.DeserializeMsalV3 (msalV3State, shouldClearExistingCache)" />
<MemberType>Method</MemberType>
<Implements>
<InterfaceMember>M:Microsoft.Identity.Client.ITokenCache.DeserializeMsalV3(System.Byte[],System.Boolean)</InterfaceMember>
</Implements>
<AssemblyInfo>
<AssemblyName>Microsoft.Identity.Client</AssemblyName>
<AssemblyVersion>4.66.2.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]</AttributeName>
<AttributeName Language="F#">[<System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Obsolete("This is removed in MSAL.NET v4. Read more: https://aka.ms/msal-net-4x-cache-breaking-change", false)]</AttributeName>
<AttributeName Language="F#">[<System.Obsolete("This is removed in MSAL.NET v4. Read more: https://aka.ms/msal-net-4x-cache-breaking-change", false)>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="msalV3State" Type="System.Byte[]" />
<Parameter Name="shouldClearExistingCache" Type="System.Boolean" />
</Parameters>
<Docs>
<param name="msalV3State">To be added.</param>
<param name="shouldClearExistingCache">To be added.</param>
<summary>
This is removed in MSAL.NET v4. Read more: https://aka.ms/msal-net-4x-cache-breaking-change
</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="DeserializeUnifiedAndAdalCache">
<MemberSignature Language="C#" Value="public void DeserializeUnifiedAndAdalCache (Microsoft.Identity.Client.Cache.CacheData cacheData);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void DeserializeUnifiedAndAdalCache(class Microsoft.Identity.Client.Cache.CacheData cacheData) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.Identity.Client.TokenCache.DeserializeUnifiedAndAdalCache(Microsoft.Identity.Client.Cache.CacheData)" />
<MemberSignature Language="VB.NET" Value="Public Sub DeserializeUnifiedAndAdalCache (cacheData As CacheData)" />
<MemberSignature Language="F#" Value="abstract member DeserializeUnifiedAndAdalCache : Microsoft.Identity.Client.Cache.CacheData -> unit
override this.DeserializeUnifiedAndAdalCache : Microsoft.Identity.Client.Cache.CacheData -> unit" Usage="tokenCache.DeserializeUnifiedAndAdalCache cacheData" />
<MemberType>Method</MemberType>
<Implements>
<InterfaceMember>M:Microsoft.Identity.Client.ITokenCache.DeserializeUnifiedAndAdalCache(Microsoft.Identity.Client.Cache.CacheData)</InterfaceMember>
</Implements>
<AssemblyInfo>
<AssemblyName>Microsoft.Identity.Client</AssemblyName>
<AssemblyVersion>4.66.2.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]</AttributeName>
<AttributeName Language="F#">[<System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Obsolete("This is expected to be removed in MSAL.NET v5. We recommend using SerializeMsalV3/DeserializeMsalV3. Read more: https://aka.ms/msal-net-3x-cache-breaking-change", false)]</AttributeName>
<AttributeName Language="F#">[<System.Obsolete("This is expected to be removed in MSAL.NET v5. We recommend using SerializeMsalV3/DeserializeMsalV3. Read more: https://aka.ms/msal-net-3x-cache-breaking-change", false)>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="cacheData" Type="Microsoft.Identity.Client.Cache.CacheData" />
</Parameters>
<Docs>
<param name="cacheData">Array of bytes containing serialize cache data</param>
<summary>
Deserializes the token cache from a serialization blob in both format (ADAL V3 format, and unified cache format)
</summary>
<remarks>
<see cref="M:Microsoft.Identity.Client.ITokenCacheSerializer.SerializeMsalV3" />/<see cref="M:Microsoft.Identity.Client.ITokenCacheSerializer.DeserializeMsalV3(System.Byte[],System.Boolean)" /> is compatible with other MSAL libraries such as MSAL for Python and MSAL for Java.
</remarks>
</Docs>
</Member>
<Member MemberName="HasStateChanged">
<MemberSignature Language="C#" Value="public bool HasStateChanged { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance bool HasStateChanged" />
<MemberSignature Language="DocId" Value="P:Microsoft.Identity.Client.TokenCache.HasStateChanged" />
<MemberSignature Language="VB.NET" Value="Public Property HasStateChanged As Boolean" />
<MemberSignature Language="F#" Value="member this.HasStateChanged : bool with get, set" Usage="Microsoft.Identity.Client.TokenCache.HasStateChanged" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.Identity.Client</AssemblyName>
<AssemblyVersion>4.66.2.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]</AttributeName>
<AttributeName Language="F#">[<System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Obsolete("Please use the equivalent flag TokenCacheNotificationArgs.HasStateChanged, which indicates if the operation triggering the notification is modifying the cache or not. Setting the flag is not required.")]</AttributeName>
<AttributeName Language="F#">[<System.Obsolete("Please use the equivalent flag TokenCacheNotificationArgs.HasStateChanged, which indicates if the operation triggering the notification is modifying the cache or not. Setting the flag is not required.")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Docs>
<summary>
Gets or sets the flag indicating whether the state of the cache has changed.
MSAL methods set this flag after any change.
Caller applications should reset the flag after serializing and persisting the state of the cache.
</summary>
<value>To be added.</value>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="Microsoft.Identity.Client.ITokenCacheSerializer.DeserializeAdalV3">
<MemberSignature Language="C#" Value="void ITokenCacheSerializer.DeserializeAdalV3 (byte[] adalV3State);" />
<MemberSignature Language="ILAsm" Value=".method hidebysig newslot virtual instance void Microsoft.Identity.Client.ITokenCacheSerializer.DeserializeAdalV3(unsigned int8[] adalV3State) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.Identity.Client.TokenCache.Microsoft#Identity#Client#ITokenCacheSerializer#DeserializeAdalV3(System.Byte[])" />
<MemberSignature Language="VB.NET" Value="Sub DeserializeAdalV3 (adalV3State As Byte()) Implements ITokenCacheSerializer.DeserializeAdalV3" />
<MemberSignature Language="F#" Value="abstract member Microsoft.Identity.Client.ITokenCacheSerializer.DeserializeAdalV3 : byte[] -> unit
override this.Microsoft.Identity.Client.ITokenCacheSerializer.DeserializeAdalV3 : byte[] -> unit" Usage="tokenCache.Microsoft.Identity.Client.ITokenCacheSerializer.DeserializeAdalV3 adalV3State" />
<MemberType>Method</MemberType>
<Implements>
<InterfaceMember>M:Microsoft.Identity.Client.ITokenCache.DeserializeAdalV3(System.Byte[])</InterfaceMember>
</Implements>
<AssemblyInfo>
<AssemblyName>Microsoft.Identity.Client</AssemblyName>
<AssemblyVersion>4.66.2.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="adalV3State" Type="System.Byte[]" />
</Parameters>
<Docs>
<param name="adalV3State">To be added.</param>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="Microsoft.Identity.Client.ITokenCacheSerializer.DeserializeMsalV2">
<MemberSignature Language="C#" Value="void ITokenCacheSerializer.DeserializeMsalV2 (byte[] msalV2State);" />
<MemberSignature Language="ILAsm" Value=".method hidebysig newslot virtual instance void Microsoft.Identity.Client.ITokenCacheSerializer.DeserializeMsalV2(unsigned int8[] msalV2State) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.Identity.Client.TokenCache.Microsoft#Identity#Client#ITokenCacheSerializer#DeserializeMsalV2(System.Byte[])" />
<MemberSignature Language="VB.NET" Value="Sub DeserializeMsalV2 (msalV2State As Byte()) Implements ITokenCacheSerializer.DeserializeMsalV2" />
<MemberSignature Language="F#" Value="abstract member Microsoft.Identity.Client.ITokenCacheSerializer.DeserializeMsalV2 : byte[] -> unit
override this.Microsoft.Identity.Client.ITokenCacheSerializer.DeserializeMsalV2 : byte[] -> unit" Usage="tokenCache.Microsoft.Identity.Client.ITokenCacheSerializer.DeserializeMsalV2 msalV2State" />
<MemberType>Method</MemberType>
<Implements>
<InterfaceMember>M:Microsoft.Identity.Client.ITokenCache.DeserializeMsalV2(System.Byte[])</InterfaceMember>
</Implements>
<AssemblyInfo>
<AssemblyName>Microsoft.Identity.Client</AssemblyName>
<AssemblyVersion>4.66.2.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="msalV2State" Type="System.Byte[]" />
</Parameters>
<Docs>
<param name="msalV2State">To be added.</param>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="Microsoft.Identity.Client.ITokenCacheSerializer.DeserializeMsalV3">
<MemberSignature Language="C#" Value="void ITokenCacheSerializer.DeserializeMsalV3 (byte[] msalV3State, bool shouldClearExistingCache);" />
<MemberSignature Language="ILAsm" Value=".method hidebysig newslot virtual instance void Microsoft.Identity.Client.ITokenCacheSerializer.DeserializeMsalV3(unsigned int8[] msalV3State, bool shouldClearExistingCache) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.Identity.Client.TokenCache.Microsoft#Identity#Client#ITokenCacheSerializer#DeserializeMsalV3(System.Byte[],System.Boolean)" />
<MemberSignature Language="VB.NET" Value="Sub DeserializeMsalV3 (msalV3State As Byte(), shouldClearExistingCache As Boolean) Implements ITokenCacheSerializer.DeserializeMsalV3" />
<MemberSignature Language="F#" Value="abstract member Microsoft.Identity.Client.ITokenCacheSerializer.DeserializeMsalV3 : byte[] * bool -> unit
override this.Microsoft.Identity.Client.ITokenCacheSerializer.DeserializeMsalV3 : byte[] * bool -> unit" Usage="tokenCache.Microsoft.Identity.Client.ITokenCacheSerializer.DeserializeMsalV3 (msalV3State, shouldClearExistingCache)" />
<MemberType>Method</MemberType>
<Implements>
<InterfaceMember>M:Microsoft.Identity.Client.ITokenCache.DeserializeMsalV3(System.Byte[],System.Boolean)</InterfaceMember>
</Implements>
<AssemblyInfo>
<AssemblyName>Microsoft.Identity.Client</AssemblyName>
<AssemblyVersion>4.66.2.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="msalV3State" Type="System.Byte[]" />
<Parameter Name="shouldClearExistingCache" Type="System.Boolean" />
</Parameters>
<Docs>
<param name="msalV3State">To be added.</param>
<param name="shouldClearExistingCache">To be added.</param>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="Microsoft.Identity.Client.ITokenCacheSerializer.SerializeAdalV3">
<MemberSignature Language="C#" Value="byte[] ITokenCacheSerializer.SerializeAdalV3 ();" />
<MemberSignature Language="ILAsm" Value=".method hidebysig newslot virtual instance unsigned int8[] Microsoft.Identity.Client.ITokenCacheSerializer.SerializeAdalV3() cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.Identity.Client.TokenCache.Microsoft#Identity#Client#ITokenCacheSerializer#SerializeAdalV3" />
<MemberSignature Language="VB.NET" Value="Function SerializeAdalV3 () As Byte() Implements ITokenCacheSerializer.SerializeAdalV3" />
<MemberSignature Language="F#" Value="abstract member Microsoft.Identity.Client.ITokenCacheSerializer.SerializeAdalV3 : unit -> byte[]
override this.Microsoft.Identity.Client.ITokenCacheSerializer.SerializeAdalV3 : unit -> byte[]" Usage="tokenCache.Microsoft.Identity.Client.ITokenCacheSerializer.SerializeAdalV3 " />
<MemberType>Method</MemberType>
<Implements>
<InterfaceMember>M:Microsoft.Identity.Client.ITokenCache.SerializeAdalV3</InterfaceMember>
</Implements>
<AssemblyInfo>
<AssemblyName>Microsoft.Identity.Client</AssemblyName>
<AssemblyVersion>4.66.2.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Byte[]</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>To be added.</summary>
<returns>To be added.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="Microsoft.Identity.Client.ITokenCacheSerializer.SerializeMsalV2">
<MemberSignature Language="C#" Value="byte[] ITokenCacheSerializer.SerializeMsalV2 ();" />
<MemberSignature Language="ILAsm" Value=".method hidebysig newslot virtual instance unsigned int8[] Microsoft.Identity.Client.ITokenCacheSerializer.SerializeMsalV2() cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.Identity.Client.TokenCache.Microsoft#Identity#Client#ITokenCacheSerializer#SerializeMsalV2" />
<MemberSignature Language="VB.NET" Value="Function SerializeMsalV2 () As Byte() Implements ITokenCacheSerializer.SerializeMsalV2" />
<MemberSignature Language="F#" Value="abstract member Microsoft.Identity.Client.ITokenCacheSerializer.SerializeMsalV2 : unit -> byte[]
override this.Microsoft.Identity.Client.ITokenCacheSerializer.SerializeMsalV2 : unit -> byte[]" Usage="tokenCache.Microsoft.Identity.Client.ITokenCacheSerializer.SerializeMsalV2 " />
<MemberType>Method</MemberType>
<Implements>
<InterfaceMember>M:Microsoft.Identity.Client.ITokenCache.SerializeMsalV2</InterfaceMember>
</Implements>
<AssemblyInfo>
<AssemblyName>Microsoft.Identity.Client</AssemblyName>
<AssemblyVersion>4.66.2.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Byte[]</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>To be added.</summary>
<returns>To be added.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="Microsoft.Identity.Client.ITokenCacheSerializer.SerializeMsalV3">
<MemberSignature Language="C#" Value="byte[] ITokenCacheSerializer.SerializeMsalV3 ();" />
<MemberSignature Language="ILAsm" Value=".method hidebysig newslot virtual instance unsigned int8[] Microsoft.Identity.Client.ITokenCacheSerializer.SerializeMsalV3() cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.Identity.Client.TokenCache.Microsoft#Identity#Client#ITokenCacheSerializer#SerializeMsalV3" />
<MemberSignature Language="VB.NET" Value="Function SerializeMsalV3 () As Byte() Implements ITokenCacheSerializer.SerializeMsalV3" />
<MemberSignature Language="F#" Value="abstract member Microsoft.Identity.Client.ITokenCacheSerializer.SerializeMsalV3 : unit -> byte[]
override this.Microsoft.Identity.Client.ITokenCacheSerializer.SerializeMsalV3 : unit -> byte[]" Usage="tokenCache.Microsoft.Identity.Client.ITokenCacheSerializer.SerializeMsalV3 " />
<MemberType>Method</MemberType>
<Implements>
<InterfaceMember>M:Microsoft.Identity.Client.ITokenCache.SerializeMsalV3</InterfaceMember>
</Implements>
<AssemblyInfo>
<AssemblyName>Microsoft.Identity.Client</AssemblyName>
<AssemblyVersion>4.66.2.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Byte[]</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>To be added.</summary>
<returns>To be added.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="Serialize">
<MemberSignature Language="C#" Value="public byte[] Serialize ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance unsigned int8[] Serialize() cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.Identity.Client.TokenCache.Serialize" />
<MemberSignature Language="VB.NET" Value="Public Function Serialize () As Byte()" />
<MemberSignature Language="F#" Value="abstract member Serialize : unit -> byte[]
override this.Serialize : unit -> byte[]" Usage="tokenCache.Serialize " />
<MemberType>Method</MemberType>
<Implements>
<InterfaceMember>M:Microsoft.Identity.Client.ITokenCache.Serialize</InterfaceMember>
</Implements>
<AssemblyInfo>
<AssemblyName>Microsoft.Identity.Client</AssemblyName>
<AssemblyVersion>4.66.2.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]</AttributeName>
<AttributeName Language="F#">[<System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Obsolete("This is expected to be removed in MSAL.NET v5. We recommend using SerializeMsalV3/DeserializeMsalV3. Read more: https://aka.ms/msal-net-3x-cache-breaking-change", false)]</AttributeName>
<AttributeName Language="F#">[<System.Obsolete("This is expected to be removed in MSAL.NET v5. We recommend using SerializeMsalV3/DeserializeMsalV3. Read more: https://aka.ms/msal-net-3x-cache-breaking-change", false)>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Byte[]</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>
Serializes using the <see cref="M:Microsoft.Identity.Client.ITokenCacheSerializer.SerializeMsalV2" /> serializer.
Obsolete: Please use specialized Serialization methods.
<see cref="M:Microsoft.Identity.Client.ITokenCacheSerializer.SerializeMsalV2" /> replaces <see cref="M:Microsoft.Identity.Client.TokenCache.Serialize" />.
<see cref="M:Microsoft.Identity.Client.ITokenCacheSerializer.SerializeMsalV3" />/<see cref="M:Microsoft.Identity.Client.ITokenCacheSerializer.DeserializeMsalV3(System.Byte[],System.Boolean)" /> Is our recommended way of serializing/deserializing.
<see cref="M:Microsoft.Identity.Client.ITokenCacheSerializer.SerializeAdalV3" /> For interoperability with ADAL.NET v3.
</summary>
<returns>array of bytes, <see cref="M:Microsoft.Identity.Client.ITokenCacheSerializer.SerializeMsalV2" /></returns>
<remarks>
<see cref="M:Microsoft.Identity.Client.ITokenCacheSerializer.SerializeMsalV3" />/<see cref="M:Microsoft.Identity.Client.ITokenCacheSerializer.DeserializeMsalV3(System.Byte[],System.Boolean)" /> is compatible with other MSAL libraries such as MSAL for Python and MSAL for Java.
</remarks>
</Docs>
</Member>
<Member MemberName="SerializeAdalV3">
<MemberSignature Language="C#" Value="public byte[] SerializeAdalV3 ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance unsigned int8[] SerializeAdalV3() cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.Identity.Client.TokenCache.SerializeAdalV3" />
<MemberSignature Language="VB.NET" Value="Public Function SerializeAdalV3 () As Byte()" />
<MemberSignature Language="F#" Value="abstract member SerializeAdalV3 : unit -> byte[]
override this.SerializeAdalV3 : unit -> byte[]" Usage="tokenCache.SerializeAdalV3 " />
<MemberType>Method</MemberType>
<Implements>
<InterfaceMember>M:Microsoft.Identity.Client.ITokenCache.SerializeAdalV3</InterfaceMember>
</Implements>
<AssemblyInfo>
<AssemblyName>Microsoft.Identity.Client</AssemblyName>
<AssemblyVersion>4.66.2.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]</AttributeName>
<AttributeName Language="F#">[<System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Obsolete("This is removed in MSAL.NET v4. Read more: https://aka.ms/msal-net-4x-cache-breaking-change", false)]</AttributeName>
<AttributeName Language="F#">[<System.Obsolete("This is removed in MSAL.NET v4. Read more: https://aka.ms/msal-net-4x-cache-breaking-change", false)>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Byte[]</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>
This is removed in MSAL.NET v4. Read more: https://aka.ms/msal-net-4x-cache-breaking-change
</summary>
<returns>To be added.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="SerializeMsalV2">
<MemberSignature Language="C#" Value="public byte[] SerializeMsalV2 ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance unsigned int8[] SerializeMsalV2() cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.Identity.Client.TokenCache.SerializeMsalV2" />
<MemberSignature Language="VB.NET" Value="Public Function SerializeMsalV2 () As Byte()" />
<MemberSignature Language="F#" Value="abstract member SerializeMsalV2 : unit -> byte[]
override this.SerializeMsalV2 : unit -> byte[]" Usage="tokenCache.SerializeMsalV2 " />
<MemberType>Method</MemberType>
<Implements>
<InterfaceMember>M:Microsoft.Identity.Client.ITokenCache.SerializeMsalV2</InterfaceMember>
</Implements>
<AssemblyInfo>
<AssemblyName>Microsoft.Identity.Client</AssemblyName>
<AssemblyVersion>4.66.2.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]</AttributeName>
<AttributeName Language="F#">[<System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Obsolete("This is removed in MSAL.NET v4. Read more: https://aka.ms/msal-net-4x-cache-breaking-change", false)]</AttributeName>
<AttributeName Language="F#">[<System.Obsolete("This is removed in MSAL.NET v4. Read more: https://aka.ms/msal-net-4x-cache-breaking-change", false)>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Byte[]</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>
This is removed in MSAL.NET v4. Read more: https://aka.ms/msal-net-4x-cache-breaking-change
</summary>
<returns>To be added.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="SerializeMsalV3">
<MemberSignature Language="C#" Value="public byte[] SerializeMsalV3 ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance unsigned int8[] SerializeMsalV3() cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.Identity.Client.TokenCache.SerializeMsalV3" />
<MemberSignature Language="VB.NET" Value="Public Function SerializeMsalV3 () As Byte()" />
<MemberSignature Language="F#" Value="abstract member SerializeMsalV3 : unit -> byte[]
override this.SerializeMsalV3 : unit -> byte[]" Usage="tokenCache.SerializeMsalV3 " />
<MemberType>Method</MemberType>
<Implements>
<InterfaceMember>M:Microsoft.Identity.Client.ITokenCache.SerializeMsalV3</InterfaceMember>
</Implements>
<AssemblyInfo>
<AssemblyName>Microsoft.Identity.Client</AssemblyName>
<AssemblyVersion>4.66.2.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]</AttributeName>
<AttributeName Language="F#">[<System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Obsolete("This is removed in MSAL.NET v4. Read more: https://aka.ms/msal-net-4x-cache-breaking-change", false)]</AttributeName>
<AttributeName Language="F#">[<System.Obsolete("This is removed in MSAL.NET v4. Read more: https://aka.ms/msal-net-4x-cache-breaking-change", false)>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Byte[]</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>
This is removed in MSAL.NET v4. Read more: https://aka.ms/msal-net-4x-cache-breaking-change
</summary>
<returns>To be added.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="SerializeUnifiedAndAdalCache">
<MemberSignature Language="C#" Value="public Microsoft.Identity.Client.Cache.CacheData SerializeUnifiedAndAdalCache ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class Microsoft.Identity.Client.Cache.CacheData SerializeUnifiedAndAdalCache() cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.Identity.Client.TokenCache.SerializeUnifiedAndAdalCache" />
<MemberSignature Language="VB.NET" Value="Public Function SerializeUnifiedAndAdalCache () As CacheData" />
<MemberSignature Language="F#" Value="abstract member SerializeUnifiedAndAdalCache : unit -> Microsoft.Identity.Client.Cache.CacheData
override this.SerializeUnifiedAndAdalCache : unit -> Microsoft.Identity.Client.Cache.CacheData" Usage="tokenCache.SerializeUnifiedAndAdalCache " />
<MemberType>Method</MemberType>
<Implements>
<InterfaceMember>M:Microsoft.Identity.Client.ITokenCache.SerializeUnifiedAndAdalCache</InterfaceMember>
</Implements>
<AssemblyInfo>
<AssemblyName>Microsoft.Identity.Client</AssemblyName>
<AssemblyVersion>4.66.2.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]</AttributeName>
<AttributeName Language="F#">[<System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Obsolete("This is expected to be removed in MSAL.NET v5. We recommend using SerializeMsalV3/DeserializeMsalV3. Read more: https://aka.ms/msal-net-3x-cache-breaking-change", false)]</AttributeName>
<AttributeName Language="F#">[<System.Obsolete("This is expected to be removed in MSAL.NET v5. We recommend using SerializeMsalV3/DeserializeMsalV3. Read more: https://aka.ms/msal-net-3x-cache-breaking-change", false)>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Microsoft.Identity.Client.Cache.CacheData</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>
Serializes the entire token cache in both the ADAL V3 and unified cache formats.
</summary>
<returns>Serialized token cache <see cref="T:Microsoft.Identity.Client.Cache.CacheData" /></returns>
<remarks>
<see cref="M:Microsoft.Identity.Client.ITokenCacheSerializer.SerializeMsalV3" />/<see cref="M:Microsoft.Identity.Client.ITokenCacheSerializer.DeserializeMsalV3(System.Byte[],System.Boolean)" /> is compatible with other MSAL libraries such as MSAL for Python and MSAL for Java.
</remarks>
</Docs>
</Member>
<Member MemberName="SetAfterAccess">
<MemberSignature Language="C#" Value="public void SetAfterAccess (Microsoft.Identity.Client.TokenCacheCallback afterAccess);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void SetAfterAccess(class Microsoft.Identity.Client.TokenCacheCallback afterAccess) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.Identity.Client.TokenCache.SetAfterAccess(Microsoft.Identity.Client.TokenCacheCallback)" />
<MemberSignature Language="VB.NET" Value="Public Sub SetAfterAccess (afterAccess As TokenCacheCallback)" />
<MemberSignature Language="F#" Value="abstract member SetAfterAccess : Microsoft.Identity.Client.TokenCacheCallback -> unit
override this.SetAfterAccess : Microsoft.Identity.Client.TokenCacheCallback -> unit" Usage="tokenCache.SetAfterAccess afterAccess" />
<MemberType>Method</MemberType>
<Implements>
<InterfaceMember>M:Microsoft.Identity.Client.ITokenCache.SetAfterAccess(Microsoft.Identity.Client.TokenCacheCallback)</InterfaceMember>
</Implements>
<AssemblyInfo>
<AssemblyName>Microsoft.Identity.Client</AssemblyName>
<AssemblyVersion>4.66.2.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="afterAccess" Type="Microsoft.Identity.Client.TokenCacheCallback" />
</Parameters>
<Docs>
<param name="afterAccess">Delegate set in order to handle the cache serialization in the case where the <see cref="P:Microsoft.Identity.Client.TokenCache.HasStateChanged" />
member of the cache is <c>true</c></param>
<summary>
Sets a delegate to be notified after any library method accesses the cache. This gives an option to the
delegate to serialize a cache entry for the application and accounts specified in the <see cref="T:Microsoft.Identity.Client.TokenCacheNotificationArgs" />.
See https://aka.ms/msal-net-token-cache-serialization
</summary>
<remarks>In the case where the delegate is used to serialize the cache entirely (not just a row), it might
want to call <see cref="M:Microsoft.Identity.Client.TokenCache.Serialize" /></remarks>
</Docs>
</Member>
<Member MemberName="SetAfterAccessAsync">
<MemberSignature Language="C#" Value="public void SetAfterAccessAsync (Func<Microsoft.Identity.Client.TokenCacheNotificationArgs,System.Threading.Tasks.Task> afterAccess);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void SetAfterAccessAsync(class System.Func`2<class Microsoft.Identity.Client.TokenCacheNotificationArgs, class System.Threading.Tasks.Task> afterAccess) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.Identity.Client.TokenCache.SetAfterAccessAsync(System.Func{Microsoft.Identity.Client.TokenCacheNotificationArgs,System.Threading.Tasks.Task})" />
<MemberSignature Language="VB.NET" Value="Public Sub SetAfterAccessAsync (afterAccess As Func(Of TokenCacheNotificationArgs, Task))" />
<MemberSignature Language="F#" Value="abstract member SetAfterAccessAsync : Func<Microsoft.Identity.Client.TokenCacheNotificationArgs, System.Threading.Tasks.Task> -> unit
override this.SetAfterAccessAsync : Func<Microsoft.Identity.Client.TokenCacheNotificationArgs, System.Threading.Tasks.Task> -> unit" Usage="tokenCache.SetAfterAccessAsync afterAccess" />
<MemberType>Method</MemberType>
<Implements>
<InterfaceMember>M:Microsoft.Identity.Client.ITokenCache.SetAfterAccessAsync(System.Func{Microsoft.Identity.Client.TokenCacheNotificationArgs,System.Threading.Tasks.Task})</InterfaceMember>
</Implements>
<AssemblyInfo>
<AssemblyName>Microsoft.Identity.Client</AssemblyName>
<AssemblyVersion>4.66.2.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="afterAccess" Type="System.Func<Microsoft.Identity.Client.TokenCacheNotificationArgs,System.Threading.Tasks.Task>" />
</Parameters>
<Docs>
<param name="afterAccess" />
<summary />
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="SetBeforeAccess">
<MemberSignature Language="C#" Value="public void SetBeforeAccess (Microsoft.Identity.Client.TokenCacheCallback beforeAccess);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void SetBeforeAccess(class Microsoft.Identity.Client.TokenCacheCallback beforeAccess) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.Identity.Client.TokenCache.SetBeforeAccess(Microsoft.Identity.Client.TokenCacheCallback)" />
<MemberSignature Language="VB.NET" Value="Public Sub SetBeforeAccess (beforeAccess As TokenCacheCallback)" />
<MemberSignature Language="F#" Value="abstract member SetBeforeAccess : Microsoft.Identity.Client.TokenCacheCallback -> unit
override this.SetBeforeAccess : Microsoft.Identity.Client.TokenCacheCallback -> unit" Usage="tokenCache.SetBeforeAccess beforeAccess" />
<MemberType>Method</MemberType>
<Implements>
<InterfaceMember>M:Microsoft.Identity.Client.ITokenCache.SetBeforeAccess(Microsoft.Identity.Client.TokenCacheCallback)</InterfaceMember>
</Implements>
<AssemblyInfo>
<AssemblyName>Microsoft.Identity.Client</AssemblyName>
<AssemblyVersion>4.66.2.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="beforeAccess" Type="Microsoft.Identity.Client.TokenCacheCallback" />
</Parameters>
<Docs>
<param name="beforeAccess">Delegate set in order to handle the cache deserialization</param>
<summary>
Sets a delegate to be notified before any library method accesses the cache. This gives an option to the
delegate to deserialize a cache entry for the application and accounts specified in the <see cref="T:Microsoft.Identity.Client.TokenCacheNotificationArgs" />.
See https://aka.ms/msal-net-token-cache-serialization
</summary>
<remarks>In the case where the delegate is used to deserialize the cache, it might
want to call <see cref="M:Microsoft.Identity.Client.TokenCache.Deserialize(System.Byte[])" /></remarks>
</Docs>
</Member>
<Member MemberName="SetBeforeAccessAsync">
<MemberSignature Language="C#" Value="public void SetBeforeAccessAsync (Func<Microsoft.Identity.Client.TokenCacheNotificationArgs,System.Threading.Tasks.Task> beforeAccess);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void SetBeforeAccessAsync(class System.Func`2<class Microsoft.Identity.Client.TokenCacheNotificationArgs, class System.Threading.Tasks.Task> beforeAccess) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.Identity.Client.TokenCache.SetBeforeAccessAsync(System.Func{Microsoft.Identity.Client.TokenCacheNotificationArgs,System.Threading.Tasks.Task})" />
<MemberSignature Language="VB.NET" Value="Public Sub SetBeforeAccessAsync (beforeAccess As Func(Of TokenCacheNotificationArgs, Task))" />
<MemberSignature Language="F#" Value="abstract member SetBeforeAccessAsync : Func<Microsoft.Identity.Client.TokenCacheNotificationArgs, System.Threading.Tasks.Task> -> unit
override this.SetBeforeAccessAsync : Func<Microsoft.Identity.Client.TokenCacheNotificationArgs, System.Threading.Tasks.Task> -> unit" Usage="tokenCache.SetBeforeAccessAsync beforeAccess" />
<MemberType>Method</MemberType>
<Implements>
<InterfaceMember>M:Microsoft.Identity.Client.ITokenCache.SetBeforeAccessAsync(System.Func{Microsoft.Identity.Client.TokenCacheNotificationArgs,System.Threading.Tasks.Task})</InterfaceMember>
</Implements>
<AssemblyInfo>
<AssemblyName>Microsoft.Identity.Client</AssemblyName>
<AssemblyVersion>4.66.2.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="beforeAccess" Type="System.Func<Microsoft.Identity.Client.TokenCacheNotificationArgs,System.Threading.Tasks.Task>" />
</Parameters>
<Docs>
<param name="beforeAccess" />
<summary />
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="SetBeforeWrite">
<MemberSignature Language="C#" Value="public void SetBeforeWrite (Microsoft.Identity.Client.TokenCacheCallback beforeWrite);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void SetBeforeWrite(class Microsoft.Identity.Client.TokenCacheCallback beforeWrite) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.Identity.Client.TokenCache.SetBeforeWrite(Microsoft.Identity.Client.TokenCacheCallback)" />
<MemberSignature Language="VB.NET" Value="Public Sub SetBeforeWrite (beforeWrite As TokenCacheCallback)" />
<MemberSignature Language="F#" Value="abstract member SetBeforeWrite : Microsoft.Identity.Client.TokenCacheCallback -> unit
override this.SetBeforeWrite : Microsoft.Identity.Client.TokenCacheCallback -> unit" Usage="tokenCache.SetBeforeWrite beforeWrite" />
<MemberType>Method</MemberType>
<Implements>
<InterfaceMember>M:Microsoft.Identity.Client.ITokenCache.SetBeforeWrite(Microsoft.Identity.Client.TokenCacheCallback)</InterfaceMember>
</Implements>
<AssemblyInfo>
<AssemblyName>Microsoft.Identity.Client</AssemblyName>
<AssemblyVersion>4.66.2.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="beforeWrite" Type="Microsoft.Identity.Client.TokenCacheCallback" />
</Parameters>
<Docs>
<param name="beforeWrite">Delegate set in order to prepare the cache serialization</param>
<summary>
Sets a delegate called before any library method writes to the cache. This gives an option to the delegate
to reload the cache state from a row in database and lock that row. That database row can then be unlocked in the delegate
registered with <see cref="M:Microsoft.Identity.Client.TokenCache.SetAfterAccess(Microsoft.Identity.Client.TokenCacheCallback)" /></summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="SetBeforeWriteAsync">
<MemberSignature Language="C#" Value="public void SetBeforeWriteAsync (Func<Microsoft.Identity.Client.TokenCacheNotificationArgs,System.Threading.Tasks.Task> beforeWrite);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void SetBeforeWriteAsync(class System.Func`2<class Microsoft.Identity.Client.TokenCacheNotificationArgs, class System.Threading.Tasks.Task> beforeWrite) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.Identity.Client.TokenCache.SetBeforeWriteAsync(System.Func{Microsoft.Identity.Client.TokenCacheNotificationArgs,System.Threading.Tasks.Task})" />
<MemberSignature Language="VB.NET" Value="Public Sub SetBeforeWriteAsync (beforeWrite As Func(Of TokenCacheNotificationArgs, Task))" />
<MemberSignature Language="F#" Value="abstract member SetBeforeWriteAsync : Func<Microsoft.Identity.Client.TokenCacheNotificationArgs, System.Threading.Tasks.Task> -> unit
override this.SetBeforeWriteAsync : Func<Microsoft.Identity.Client.TokenCacheNotificationArgs, System.Threading.Tasks.Task> -> unit" Usage="tokenCache.SetBeforeWriteAsync beforeWrite" />
<MemberType>Method</MemberType>
<Implements>
<InterfaceMember>M:Microsoft.Identity.Client.ITokenCache.SetBeforeWriteAsync(System.Func{Microsoft.Identity.Client.TokenCacheNotificationArgs,System.Threading.Tasks.Task})</InterfaceMember>
</Implements>
<AssemblyInfo>
<AssemblyName>Microsoft.Identity.Client</AssemblyName>
<AssemblyVersion>4.66.2.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="beforeWrite" Type="System.Func<Microsoft.Identity.Client.TokenCacheNotificationArgs,System.Threading.Tasks.Task>" />
</Parameters>
<Docs>
<param name="beforeWrite" />
<summary />
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="SetIosKeychainSecurityGroup">
<MemberSignature Language="C#" Value="public void SetIosKeychainSecurityGroup (string securityGroup);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void SetIosKeychainSecurityGroup(string securityGroup) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.Identity.Client.TokenCache.SetIosKeychainSecurityGroup(System.String)" />
<MemberSignature Language="VB.NET" Value="Public Sub SetIosKeychainSecurityGroup (securityGroup As String)" />
<MemberSignature Language="F#" Value="abstract member SetIosKeychainSecurityGroup : string -> unit
override this.SetIosKeychainSecurityGroup : string -> unit" Usage="tokenCache.SetIosKeychainSecurityGroup securityGroup" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.Identity.Client</AssemblyName>
<AssemblyVersion>4.66.2.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="securityGroup" Type="System.String" />
</Parameters>
<Docs>
<param name="securityGroup">To be added.</param>
<summary>
Sets the security group to be used with the iOS Keychain. This function should not be used by external customers. It <see href="https://github.com/AzureAD/microsoft-authentication-library-for-dotnet/issues/2121">will be removed</see> in a future version of MSAL.
</summary>
<remarks>To be added.</remarks>
<inheritdoc />
</Docs>
</Member>
</Members>
</Type>