-
Notifications
You must be signed in to change notification settings - Fork 27
/
IPublicClientApplication.xml
1199 lines (1199 loc) Β· 110 KB
/
IPublicClientApplication.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
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<Type Name="IPublicClientApplication" FullName="Microsoft.Identity.Client.IPublicClientApplication">
<TypeSignature Language="C#" Value="public interface IPublicClientApplication : Microsoft.Identity.Client.IClientApplicationBase" />
<TypeSignature Language="ILAsm" Value=".class public interface auto ansi abstract beforefieldinit IPublicClientApplication implements class Microsoft.Identity.Client.IApplicationBase, class Microsoft.Identity.Client.IClientApplicationBase" />
<TypeSignature Language="DocId" Value="T:Microsoft.Identity.Client.IPublicClientApplication" />
<TypeSignature Language="VB.NET" Value="Public Interface IPublicClientApplication
Implements IClientApplicationBase" />
<TypeSignature Language="F#" Value="type IPublicClientApplication = interface
 interface IClientApplicationBase
 interface IApplicationBase" />
<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>
</AssemblyInfo>
<Interfaces>
<Interface>
<InterfaceName>Microsoft.Identity.Client.IApplicationBase</InterfaceName>
</Interface>
<Interface>
<InterfaceName>Microsoft.Identity.Client.IClientApplicationBase</InterfaceName>
</Interface>
</Interfaces>
<Docs>
<summary>
Represents public client applications - desktop and mobile applications.
</summary>
<remarks>
Public client applications are not trusted to safely keep application secrets and therefore they can only access web APIs in the name of the authenticating user.
See <see href="https://aka.ms/msal-net-client-applications">Client Applications</see>.
<para>
Unlike <see cref="T:Microsoft.Identity.Client.IConfidentialClientApplication" />, public clients are unable to securely store secrets on a client device and as a result do not require the use of a client secret.
</para><para>
The redirect URI needed for interactive authentication is automatically determined by the library. It does not need to be passed explicitly in the constructor. Depending
on the authentication strategy (e.g., through the <see href="https://aka.ms/msal-net-wam">Web Account Manager</see>, the Authenticator app, web browser, etc.), different redirect URIs will be used by MSAL. Redirect URIs must always be configured for the application in the Azure Portal.
</para></remarks>
</Docs>
<Members>
<Member MemberName="AcquireTokenAsync">
<MemberSignature Language="C#" Value="public System.Threading.Tasks.Task<Microsoft.Identity.Client.AuthenticationResult> AcquireTokenAsync (System.Collections.Generic.IEnumerable<string> scopes);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class System.Threading.Tasks.Task`1<class Microsoft.Identity.Client.AuthenticationResult> AcquireTokenAsync(class System.Collections.Generic.IEnumerable`1<string> scopes) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.Identity.Client.IPublicClientApplication.AcquireTokenAsync(System.Collections.Generic.IEnumerable{System.String})" />
<MemberSignature Language="VB.NET" Value="Public Function AcquireTokenAsync (scopes As IEnumerable(Of String)) As Task(Of AuthenticationResult)" />
<MemberSignature Language="F#" Value="abstract member AcquireTokenAsync : seq<string> -> System.Threading.Tasks.Task<Microsoft.Identity.Client.AuthenticationResult>" Usage="iPublicClientApplication.AcquireTokenAsync scopes" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.Identity.Client</AssemblyName>
<AssemblyVersion>4.61.3.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("Use AcquireTokenInteractive instead. See https://aka.ms/msal-net-3-breaking-changes. ", true)]</AttributeName>
<AttributeName Language="F#">[<System.Obsolete("Use AcquireTokenInteractive instead. See https://aka.ms/msal-net-3-breaking-changes. ", true)>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Threading.Tasks.Task<Microsoft.Identity.Client.AuthenticationResult></ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="scopes" Type="System.Collections.Generic.IEnumerable<System.String>" />
</Parameters>
<Docs>
<param name="scopes">Scopes requested to access a protected API</param>
<summary>
Interactive request to acquire token for the specified scopes. The user is required to select an account
</summary>
<returns>Authentication result containing a token for the requested scopes and account</returns>
<remarks>The user will be signed-in interactively if needed,
and will consent to scopes and do multi-factor authentication if such a policy was enabled in the Azure AD tenant.</remarks>
</Docs>
</Member>
<Member MemberName="AcquireTokenAsync">
<MemberSignature Language="C#" Value="public System.Threading.Tasks.Task<Microsoft.Identity.Client.AuthenticationResult> AcquireTokenAsync (System.Collections.Generic.IEnumerable<string> scopes, Microsoft.Identity.Client.IAccount account);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class System.Threading.Tasks.Task`1<class Microsoft.Identity.Client.AuthenticationResult> AcquireTokenAsync(class System.Collections.Generic.IEnumerable`1<string> scopes, class Microsoft.Identity.Client.IAccount account) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.Identity.Client.IPublicClientApplication.AcquireTokenAsync(System.Collections.Generic.IEnumerable{System.String},Microsoft.Identity.Client.IAccount)" />
<MemberSignature Language="VB.NET" Value="Public Function AcquireTokenAsync (scopes As IEnumerable(Of String), account As IAccount) As Task(Of AuthenticationResult)" />
<MemberSignature Language="F#" Value="abstract member AcquireTokenAsync : seq<string> * Microsoft.Identity.Client.IAccount -> System.Threading.Tasks.Task<Microsoft.Identity.Client.AuthenticationResult>" Usage="iPublicClientApplication.AcquireTokenAsync (scopes, account)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.Identity.Client</AssemblyName>
<AssemblyVersion>4.61.3.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("Use AcquireTokenInteractive instead. See https://aka.ms/msal-net-3-breaking-changes. ", true)]</AttributeName>
<AttributeName Language="F#">[<System.Obsolete("Use AcquireTokenInteractive instead. See https://aka.ms/msal-net-3-breaking-changes. ", true)>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Threading.Tasks.Task<Microsoft.Identity.Client.AuthenticationResult></ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="scopes" Type="System.Collections.Generic.IEnumerable<System.String>" />
<Parameter Name="account" Type="Microsoft.Identity.Client.IAccount" />
</Parameters>
<Docs>
<param name="scopes">Scopes requested to access a protected API</param>
<param name="account">Account to use for the interactive token acquisition. See <see cref="T:Microsoft.Identity.Client.IAccount" /> for ways to get an account</param>
<summary>
Interactive request to acquire token for the specified scopes. The user will need to sign-in but an account will be proposed
based on the provided <paramref name="account" /></summary>
<returns>Authentication result containing a token for the requested scopes and account</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="AcquireTokenAsync">
<MemberSignature Language="C#" Value="public System.Threading.Tasks.Task<Microsoft.Identity.Client.AuthenticationResult> AcquireTokenAsync (System.Collections.Generic.IEnumerable<string> scopes, Microsoft.Identity.Client.UIParent parent);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class System.Threading.Tasks.Task`1<class Microsoft.Identity.Client.AuthenticationResult> AcquireTokenAsync(class System.Collections.Generic.IEnumerable`1<string> scopes, class Microsoft.Identity.Client.UIParent parent) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.Identity.Client.IPublicClientApplication.AcquireTokenAsync(System.Collections.Generic.IEnumerable{System.String},Microsoft.Identity.Client.UIParent)" />
<MemberSignature Language="VB.NET" Value="Public Function AcquireTokenAsync (scopes As IEnumerable(Of String), parent As UIParent) As Task(Of AuthenticationResult)" />
<MemberSignature Language="F#" Value="abstract member AcquireTokenAsync : seq<string> * Microsoft.Identity.Client.UIParent -> System.Threading.Tasks.Task<Microsoft.Identity.Client.AuthenticationResult>" Usage="iPublicClientApplication.AcquireTokenAsync (scopes, parent)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.Identity.Client</AssemblyName>
<AssemblyVersion>4.61.3.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("Use AcquireTokenInteractive instead. See https://aka.ms/msal-net-3-breaking-changes. ", true)]</AttributeName>
<AttributeName Language="F#">[<System.Obsolete("Use AcquireTokenInteractive instead. See https://aka.ms/msal-net-3-breaking-changes. ", true)>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Threading.Tasks.Task<Microsoft.Identity.Client.AuthenticationResult></ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="scopes" Type="System.Collections.Generic.IEnumerable<System.String>" />
<Parameter Name="parent" Type="Microsoft.Identity.Client.UIParent" />
</Parameters>
<Docs>
<param name="scopes">Scopes requested to access a protected API</param>
<param name="parent">Object containing a reference to the parent window/activity. REQUIRED for Xamarin.Android only.</param>
<summary>
Interactive request to acquire token for the specified scopes. The interactive window will be parented to the specified
window. The user will be required to select an account
</summary>
<returns>Authentication result containing a token for the requested scopes and account</returns>
<remarks>The user will be signed-in interactively if needed,
and will consent to scopes and do multi-factor authentication if such a policy was enabled in the Azure AD tenant.</remarks>
</Docs>
</Member>
<Member MemberName="AcquireTokenAsync">
<MemberSignature Language="C#" Value="public System.Threading.Tasks.Task<Microsoft.Identity.Client.AuthenticationResult> AcquireTokenAsync (System.Collections.Generic.IEnumerable<string> scopes, string loginHint);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class System.Threading.Tasks.Task`1<class Microsoft.Identity.Client.AuthenticationResult> AcquireTokenAsync(class System.Collections.Generic.IEnumerable`1<string> scopes, string loginHint) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.Identity.Client.IPublicClientApplication.AcquireTokenAsync(System.Collections.Generic.IEnumerable{System.String},System.String)" />
<MemberSignature Language="VB.NET" Value="Public Function AcquireTokenAsync (scopes As IEnumerable(Of String), loginHint As String) As Task(Of AuthenticationResult)" />
<MemberSignature Language="F#" Value="abstract member AcquireTokenAsync : seq<string> * string -> System.Threading.Tasks.Task<Microsoft.Identity.Client.AuthenticationResult>" Usage="iPublicClientApplication.AcquireTokenAsync (scopes, loginHint)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.Identity.Client</AssemblyName>
<AssemblyVersion>4.61.3.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("Use AcquireTokenInteractive instead. See https://aka.ms/msal-net-3-breaking-changes. ", true)]</AttributeName>
<AttributeName Language="F#">[<System.Obsolete("Use AcquireTokenInteractive instead. See https://aka.ms/msal-net-3-breaking-changes. ", true)>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Threading.Tasks.Task<Microsoft.Identity.Client.AuthenticationResult></ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="scopes" Type="System.Collections.Generic.IEnumerable<System.String>" />
<Parameter Name="loginHint" Type="System.String" />
</Parameters>
<Docs>
<param name="scopes">Scopes requested to access a protected API</param>
<param name="loginHint">Identifier of the user. Generally in UserPrincipalName (UPN) format, e.g. <c>john.doe@contoso.com</c></param>
<summary>
Interactive request to acquire token for the specified scopes. The user will need to sign-in but an account will be proposed
based on the <paramref name="loginHint" /></summary>
<returns>Authentication result containing a token for the requested scopes and account</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="AcquireTokenAsync">
<MemberSignature Language="C#" Value="public System.Threading.Tasks.Task<Microsoft.Identity.Client.AuthenticationResult> AcquireTokenAsync (System.Collections.Generic.IEnumerable<string> scopes, Microsoft.Identity.Client.IAccount account, Microsoft.Identity.Client.UIParent parent);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class System.Threading.Tasks.Task`1<class Microsoft.Identity.Client.AuthenticationResult> AcquireTokenAsync(class System.Collections.Generic.IEnumerable`1<string> scopes, class Microsoft.Identity.Client.IAccount account, class Microsoft.Identity.Client.UIParent parent) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.Identity.Client.IPublicClientApplication.AcquireTokenAsync(System.Collections.Generic.IEnumerable{System.String},Microsoft.Identity.Client.IAccount,Microsoft.Identity.Client.UIParent)" />
<MemberSignature Language="VB.NET" Value="Public Function AcquireTokenAsync (scopes As IEnumerable(Of String), account As IAccount, parent As UIParent) As Task(Of AuthenticationResult)" />
<MemberSignature Language="F#" Value="abstract member AcquireTokenAsync : seq<string> * Microsoft.Identity.Client.IAccount * Microsoft.Identity.Client.UIParent -> System.Threading.Tasks.Task<Microsoft.Identity.Client.AuthenticationResult>" Usage="iPublicClientApplication.AcquireTokenAsync (scopes, account, parent)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.Identity.Client</AssemblyName>
<AssemblyVersion>4.61.3.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("Use AcquireTokenInteractive instead. See https://aka.ms/msal-net-3-breaking-changes. ", true)]</AttributeName>
<AttributeName Language="F#">[<System.Obsolete("Use AcquireTokenInteractive instead. See https://aka.ms/msal-net-3-breaking-changes. ", true)>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Threading.Tasks.Task<Microsoft.Identity.Client.AuthenticationResult></ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="scopes" Type="System.Collections.Generic.IEnumerable<System.String>" />
<Parameter Name="account" Type="Microsoft.Identity.Client.IAccount" />
<Parameter Name="parent" Type="Microsoft.Identity.Client.UIParent" />
</Parameters>
<Docs>
<param name="scopes">Scopes requested to access a protected API</param>
<param name="account">Account to use for the interactive token acquisition. See <see cref="T:Microsoft.Identity.Client.IAccount" /> for ways to get an account</param>
<param name="parent">Object containing a reference to the parent window/activity. REQUIRED for Xamarin.Android only.</param>
<summary>
Interactive request to acquire token for the specified scopes. The user will need to sign-in but an account will be proposed
based on the provided <paramref name="account" /></summary>
<returns>Authentication result containing a token for the requested scopes and account</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="AcquireTokenAsync">
<MemberSignature Language="C#" Value="public System.Threading.Tasks.Task<Microsoft.Identity.Client.AuthenticationResult> AcquireTokenAsync (System.Collections.Generic.IEnumerable<string> scopes, string loginHint, Microsoft.Identity.Client.UIParent parent);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class System.Threading.Tasks.Task`1<class Microsoft.Identity.Client.AuthenticationResult> AcquireTokenAsync(class System.Collections.Generic.IEnumerable`1<string> scopes, string loginHint, class Microsoft.Identity.Client.UIParent parent) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.Identity.Client.IPublicClientApplication.AcquireTokenAsync(System.Collections.Generic.IEnumerable{System.String},System.String,Microsoft.Identity.Client.UIParent)" />
<MemberSignature Language="VB.NET" Value="Public Function AcquireTokenAsync (scopes As IEnumerable(Of String), loginHint As String, parent As UIParent) As Task(Of AuthenticationResult)" />
<MemberSignature Language="F#" Value="abstract member AcquireTokenAsync : seq<string> * string * Microsoft.Identity.Client.UIParent -> System.Threading.Tasks.Task<Microsoft.Identity.Client.AuthenticationResult>" Usage="iPublicClientApplication.AcquireTokenAsync (scopes, loginHint, parent)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.Identity.Client</AssemblyName>
<AssemblyVersion>4.61.3.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("Use AcquireTokenInteractive instead. See https://aka.ms/msal-net-3-breaking-changes. ", true)]</AttributeName>
<AttributeName Language="F#">[<System.Obsolete("Use AcquireTokenInteractive instead. See https://aka.ms/msal-net-3-breaking-changes. ", true)>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Threading.Tasks.Task<Microsoft.Identity.Client.AuthenticationResult></ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="scopes" Type="System.Collections.Generic.IEnumerable<System.String>" />
<Parameter Name="loginHint" Type="System.String" />
<Parameter Name="parent" Type="Microsoft.Identity.Client.UIParent" />
</Parameters>
<Docs>
<param name="scopes">Scopes requested to access a protected API</param>
<param name="loginHint">Identifier of the user. Generally in UserPrincipalName (UPN) format, e.g. <c>john.doe@contoso.com</c></param>
<param name="parent">Object containing a reference to the parent window/activity. REQUIRED for Xamarin.Android only.</param>
<summary>
Interactive request to acquire token for the specified scopes. The interactive window will be parented to the specified
window. . The user will need to sign-in but an account will be proposed
based on the <paramref name="loginHint" /></summary>
<returns>Authentication result containing a token for the requested scopes and login</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="AcquireTokenAsync">
<MemberSignature Language="C#" Value="public System.Threading.Tasks.Task<Microsoft.Identity.Client.AuthenticationResult> AcquireTokenAsync (System.Collections.Generic.IEnumerable<string> scopes, Microsoft.Identity.Client.IAccount account, Microsoft.Identity.Client.Prompt prompt, string extraQueryParameters);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class System.Threading.Tasks.Task`1<class Microsoft.Identity.Client.AuthenticationResult> AcquireTokenAsync(class System.Collections.Generic.IEnumerable`1<string> scopes, class Microsoft.Identity.Client.IAccount account, valuetype Microsoft.Identity.Client.Prompt prompt, string extraQueryParameters) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.Identity.Client.IPublicClientApplication.AcquireTokenAsync(System.Collections.Generic.IEnumerable{System.String},Microsoft.Identity.Client.IAccount,Microsoft.Identity.Client.Prompt,System.String)" />
<MemberSignature Language="VB.NET" Value="Public Function AcquireTokenAsync (scopes As IEnumerable(Of String), account As IAccount, prompt As Prompt, extraQueryParameters As String) As Task(Of AuthenticationResult)" />
<MemberSignature Language="F#" Value="abstract member AcquireTokenAsync : seq<string> * Microsoft.Identity.Client.IAccount * Microsoft.Identity.Client.Prompt * string -> System.Threading.Tasks.Task<Microsoft.Identity.Client.AuthenticationResult>" Usage="iPublicClientApplication.AcquireTokenAsync (scopes, account, prompt, extraQueryParameters)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.Identity.Client</AssemblyName>
<AssemblyVersion>4.61.3.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("Use AcquireTokenInteractive instead. See https://aka.ms/msal-net-3-breaking-changes. ", true)]</AttributeName>
<AttributeName Language="F#">[<System.Obsolete("Use AcquireTokenInteractive instead. See https://aka.ms/msal-net-3-breaking-changes. ", true)>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Threading.Tasks.Task<Microsoft.Identity.Client.AuthenticationResult></ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="scopes" Type="System.Collections.Generic.IEnumerable<System.String>" />
<Parameter Name="account" Type="Microsoft.Identity.Client.IAccount" />
<Parameter Name="prompt" Type="Microsoft.Identity.Client.Prompt" />
<Parameter Name="extraQueryParameters" Type="System.String" />
</Parameters>
<Docs>
<param name="scopes">Scopes requested to access a protected API</param>
<param name="account">Account to use for the interactive token acquisition. See <see cref="T:Microsoft.Identity.Client.IAccount" /> for ways to get an account</param>
<param name="prompt">Designed interactive experience for the user.</param>
<param name="extraQueryParameters">This parameter will be appended as is to the query string in the HTTP authentication request to the authority.
This is expected to be a string of segments of the form <c>key=value</c> separated by an ampersand character.
The parameter can be null.</param>
<summary>
Interactive request to acquire token for an account with control of the UI behavior and possibility of passing extra query parameters like additional claims
</summary>
<returns>Authentication result containing a token for the requested scopes and account</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="AcquireTokenAsync">
<MemberSignature Language="C#" Value="public System.Threading.Tasks.Task<Microsoft.Identity.Client.AuthenticationResult> AcquireTokenAsync (System.Collections.Generic.IEnumerable<string> scopes, string loginHint, Microsoft.Identity.Client.Prompt prompt, string extraQueryParameters);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class System.Threading.Tasks.Task`1<class Microsoft.Identity.Client.AuthenticationResult> AcquireTokenAsync(class System.Collections.Generic.IEnumerable`1<string> scopes, string loginHint, valuetype Microsoft.Identity.Client.Prompt prompt, string extraQueryParameters) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.Identity.Client.IPublicClientApplication.AcquireTokenAsync(System.Collections.Generic.IEnumerable{System.String},System.String,Microsoft.Identity.Client.Prompt,System.String)" />
<MemberSignature Language="VB.NET" Value="Public Function AcquireTokenAsync (scopes As IEnumerable(Of String), loginHint As String, prompt As Prompt, extraQueryParameters As String) As Task(Of AuthenticationResult)" />
<MemberSignature Language="F#" Value="abstract member AcquireTokenAsync : seq<string> * string * Microsoft.Identity.Client.Prompt * string -> System.Threading.Tasks.Task<Microsoft.Identity.Client.AuthenticationResult>" Usage="iPublicClientApplication.AcquireTokenAsync (scopes, loginHint, prompt, extraQueryParameters)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.Identity.Client</AssemblyName>
<AssemblyVersion>4.61.3.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("Use AcquireTokenInteractive instead. See https://aka.ms/msal-net-3-breaking-changes. ", true)]</AttributeName>
<AttributeName Language="F#">[<System.Obsolete("Use AcquireTokenInteractive instead. See https://aka.ms/msal-net-3-breaking-changes. ", true)>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Threading.Tasks.Task<Microsoft.Identity.Client.AuthenticationResult></ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="scopes" Type="System.Collections.Generic.IEnumerable<System.String>" />
<Parameter Name="loginHint" Type="System.String" />
<Parameter Name="prompt" Type="Microsoft.Identity.Client.Prompt" />
<Parameter Name="extraQueryParameters" Type="System.String" />
</Parameters>
<Docs>
<param name="scopes">Scopes requested to access a protected API</param>
<param name="loginHint">Identifier of the user. Generally in UserPrincipalName (UPN) format, e.g. <c>john.doe@contoso.com</c></param>
<param name="prompt">Designed interactive experience for the user.</param>
<param name="extraQueryParameters">This parameter will be appended as is to the query string in the HTTP authentication request to the authority.
This is expected to be a string of segments of the form <c>key=value</c> separated by an ampersand character.
The parameter can be null.</param>
<summary>
Interactive request to acquire token for a login with control of the UI behavior and possibility of passing extra query parameters like additional claims
</summary>
<returns>Authentication result containing a token for the requested scopes and account</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="AcquireTokenAsync">
<MemberSignature Language="C#" Value="public System.Threading.Tasks.Task<Microsoft.Identity.Client.AuthenticationResult> AcquireTokenAsync (System.Collections.Generic.IEnumerable<string> scopes, Microsoft.Identity.Client.IAccount account, Microsoft.Identity.Client.Prompt prompt, string extraQueryParameters, Microsoft.Identity.Client.UIParent parent);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class System.Threading.Tasks.Task`1<class Microsoft.Identity.Client.AuthenticationResult> AcquireTokenAsync(class System.Collections.Generic.IEnumerable`1<string> scopes, class Microsoft.Identity.Client.IAccount account, valuetype Microsoft.Identity.Client.Prompt prompt, string extraQueryParameters, class Microsoft.Identity.Client.UIParent parent) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.Identity.Client.IPublicClientApplication.AcquireTokenAsync(System.Collections.Generic.IEnumerable{System.String},Microsoft.Identity.Client.IAccount,Microsoft.Identity.Client.Prompt,System.String,Microsoft.Identity.Client.UIParent)" />
<MemberSignature Language="VB.NET" Value="Public Function AcquireTokenAsync (scopes As IEnumerable(Of String), account As IAccount, prompt As Prompt, extraQueryParameters As String, parent As UIParent) As Task(Of AuthenticationResult)" />
<MemberSignature Language="F#" Value="abstract member AcquireTokenAsync : seq<string> * Microsoft.Identity.Client.IAccount * Microsoft.Identity.Client.Prompt * string * Microsoft.Identity.Client.UIParent -> System.Threading.Tasks.Task<Microsoft.Identity.Client.AuthenticationResult>" Usage="iPublicClientApplication.AcquireTokenAsync (scopes, account, prompt, extraQueryParameters, parent)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.Identity.Client</AssemblyName>
<AssemblyVersion>4.61.3.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("Use AcquireTokenInteractive instead. See https://aka.ms/msal-net-3-breaking-changes. ", true)]</AttributeName>
<AttributeName Language="F#">[<System.Obsolete("Use AcquireTokenInteractive instead. See https://aka.ms/msal-net-3-breaking-changes. ", true)>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Threading.Tasks.Task<Microsoft.Identity.Client.AuthenticationResult></ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="scopes" Type="System.Collections.Generic.IEnumerable<System.String>" />
<Parameter Name="account" Type="Microsoft.Identity.Client.IAccount" />
<Parameter Name="prompt" Type="Microsoft.Identity.Client.Prompt" />
<Parameter Name="extraQueryParameters" Type="System.String" />
<Parameter Name="parent" Type="Microsoft.Identity.Client.UIParent" />
</Parameters>
<Docs>
<param name="scopes">Scopes requested to access a protected API</param>
<param name="account">Account to use for the interactive token acquisition. See <see cref="T:Microsoft.Identity.Client.IAccount" /> for ways to get an account</param>
<param name="prompt">Designed interactive experience for the user.</param>
<param name="extraQueryParameters">This parameter will be appended as is to the query string in the HTTP authentication request to the authority.
This is expected to be a string of segments of the form <c>key=value</c> separated by an ampersand character.
The parameter can be null.</param>
<param name="parent">Object containing a reference to the parent window/activity. REQUIRED for Xamarin.Android only.</param>
<summary>
Interactive request to acquire token for an account with control of the UI behavior and possibility of passing extra query parameters like additional claims
</summary>
<returns>Authentication result containing a token for the requested scopes and account</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="AcquireTokenAsync">
<MemberSignature Language="C#" Value="public System.Threading.Tasks.Task<Microsoft.Identity.Client.AuthenticationResult> AcquireTokenAsync (System.Collections.Generic.IEnumerable<string> scopes, string loginHint, Microsoft.Identity.Client.Prompt prompt, string extraQueryParameters, Microsoft.Identity.Client.UIParent parent);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class System.Threading.Tasks.Task`1<class Microsoft.Identity.Client.AuthenticationResult> AcquireTokenAsync(class System.Collections.Generic.IEnumerable`1<string> scopes, string loginHint, valuetype Microsoft.Identity.Client.Prompt prompt, string extraQueryParameters, class Microsoft.Identity.Client.UIParent parent) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.Identity.Client.IPublicClientApplication.AcquireTokenAsync(System.Collections.Generic.IEnumerable{System.String},System.String,Microsoft.Identity.Client.Prompt,System.String,Microsoft.Identity.Client.UIParent)" />
<MemberSignature Language="VB.NET" Value="Public Function AcquireTokenAsync (scopes As IEnumerable(Of String), loginHint As String, prompt As Prompt, extraQueryParameters As String, parent As UIParent) As Task(Of AuthenticationResult)" />
<MemberSignature Language="F#" Value="abstract member AcquireTokenAsync : seq<string> * string * Microsoft.Identity.Client.Prompt * string * Microsoft.Identity.Client.UIParent -> System.Threading.Tasks.Task<Microsoft.Identity.Client.AuthenticationResult>" Usage="iPublicClientApplication.AcquireTokenAsync (scopes, loginHint, prompt, extraQueryParameters, parent)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.Identity.Client</AssemblyName>
<AssemblyVersion>4.61.3.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("Use AcquireTokenInteractive instead. See https://aka.ms/msal-net-3-breaking-changes. ", true)]</AttributeName>
<AttributeName Language="F#">[<System.Obsolete("Use AcquireTokenInteractive instead. See https://aka.ms/msal-net-3-breaking-changes. ", true)>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Threading.Tasks.Task<Microsoft.Identity.Client.AuthenticationResult></ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="scopes" Type="System.Collections.Generic.IEnumerable<System.String>" />
<Parameter Name="loginHint" Type="System.String" />
<Parameter Name="prompt" Type="Microsoft.Identity.Client.Prompt" />
<Parameter Name="extraQueryParameters" Type="System.String" />
<Parameter Name="parent" Type="Microsoft.Identity.Client.UIParent" />
</Parameters>
<Docs>
<param name="scopes">Scopes requested to access a protected API</param>
<param name="loginHint">Identifier of the user. Generally in UserPrincipalName (UPN) format, e.g. <c>john.doe@contoso.com</c></param>
<param name="prompt">Designed interactive experience for the user.</param>
<param name="extraQueryParameters">This parameter will be appended as is to the query string in the HTTP authentication request to the authority.
This is expected to be a string of segments of the form <c>key=value</c> separated by an ampersand character.
The parameter can be null.</param>
<param name="parent">Object containing a reference to the parent window/activity. REQUIRED for Xamarin.Android only.</param>
<summary>
Interactive request to acquire token for a login with control of the UI behavior and possibility of passing extra query parameters like additional claims
</summary>
<returns>Authentication result containing a token for the requested scopes and account</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="AcquireTokenAsync">
<MemberSignature Language="C#" Value="public System.Threading.Tasks.Task<Microsoft.Identity.Client.AuthenticationResult> AcquireTokenAsync (System.Collections.Generic.IEnumerable<string> scopes, Microsoft.Identity.Client.IAccount account, Microsoft.Identity.Client.Prompt prompt, string extraQueryParameters, System.Collections.Generic.IEnumerable<string> extraScopesToConsent, string authority);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class System.Threading.Tasks.Task`1<class Microsoft.Identity.Client.AuthenticationResult> AcquireTokenAsync(class System.Collections.Generic.IEnumerable`1<string> scopes, class Microsoft.Identity.Client.IAccount account, valuetype Microsoft.Identity.Client.Prompt prompt, string extraQueryParameters, class System.Collections.Generic.IEnumerable`1<string> extraScopesToConsent, string authority) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.Identity.Client.IPublicClientApplication.AcquireTokenAsync(System.Collections.Generic.IEnumerable{System.String},Microsoft.Identity.Client.IAccount,Microsoft.Identity.Client.Prompt,System.String,System.Collections.Generic.IEnumerable{System.String},System.String)" />
<MemberSignature Language="VB.NET" Value="Public Function AcquireTokenAsync (scopes As IEnumerable(Of String), account As IAccount, prompt As Prompt, extraQueryParameters As String, extraScopesToConsent As IEnumerable(Of String), authority As String) As Task(Of AuthenticationResult)" />
<MemberSignature Language="F#" Value="abstract member AcquireTokenAsync : seq<string> * Microsoft.Identity.Client.IAccount * Microsoft.Identity.Client.Prompt * string * seq<string> * string -> System.Threading.Tasks.Task<Microsoft.Identity.Client.AuthenticationResult>" Usage="iPublicClientApplication.AcquireTokenAsync (scopes, account, prompt, extraQueryParameters, extraScopesToConsent, authority)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.Identity.Client</AssemblyName>
<AssemblyVersion>4.61.3.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("Use AcquireTokenInteractive instead. See https://aka.ms/msal-net-3-breaking-changes. ", true)]</AttributeName>
<AttributeName Language="F#">[<System.Obsolete("Use AcquireTokenInteractive instead. See https://aka.ms/msal-net-3-breaking-changes. ", true)>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Threading.Tasks.Task<Microsoft.Identity.Client.AuthenticationResult></ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="scopes" Type="System.Collections.Generic.IEnumerable<System.String>" />
<Parameter Name="account" Type="Microsoft.Identity.Client.IAccount" />
<Parameter Name="prompt" Type="Microsoft.Identity.Client.Prompt" />
<Parameter Name="extraQueryParameters" Type="System.String" />
<Parameter Name="extraScopesToConsent" Type="System.Collections.Generic.IEnumerable<System.String>" />
<Parameter Name="authority" Type="System.String" />
</Parameters>
<Docs>
<param name="scopes">Scopes requested to access a protected API</param>
<param name="account">Account to use for the interactive token acquisition. See <see cref="T:Microsoft.Identity.Client.IAccount" /> for ways to get an account</param>
<param name="prompt">Designed interactive experience for the user.</param>
<param name="extraQueryParameters">This parameter will be appended as is to the query string in the HTTP authentication request to the authority.
This is expected to be a string of segments of the form <c>key=value</c> separated by an ampersand character.
The parameter can be null.</param>
<param name="extraScopesToConsent">Scopes that you can request the end user to consent upfront, in addition to the scopes for the protected web API
for which you want to acquire a security token.</param>
<param name="authority">Specific authority for which the token is requested. Passing a different value than configured does not change the configured value</param>
<summary>
Interactive request to acquire token for a given account, with the possibility of controlling the user experience, passing extra query
parameters, providing extra scopes that the user can pre-consent to, and overriding the authority pre-configured in the application
</summary>
<returns>Authentication result containing a token for the requested scopes and account</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="AcquireTokenAsync">
<MemberSignature Language="C#" Value="public System.Threading.Tasks.Task<Microsoft.Identity.Client.AuthenticationResult> AcquireTokenAsync (System.Collections.Generic.IEnumerable<string> scopes, string loginHint, Microsoft.Identity.Client.Prompt prompt, string extraQueryParameters, System.Collections.Generic.IEnumerable<string> extraScopesToConsent, string authority);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class System.Threading.Tasks.Task`1<class Microsoft.Identity.Client.AuthenticationResult> AcquireTokenAsync(class System.Collections.Generic.IEnumerable`1<string> scopes, string loginHint, valuetype Microsoft.Identity.Client.Prompt prompt, string extraQueryParameters, class System.Collections.Generic.IEnumerable`1<string> extraScopesToConsent, string authority) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.Identity.Client.IPublicClientApplication.AcquireTokenAsync(System.Collections.Generic.IEnumerable{System.String},System.String,Microsoft.Identity.Client.Prompt,System.String,System.Collections.Generic.IEnumerable{System.String},System.String)" />
<MemberSignature Language="VB.NET" Value="Public Function AcquireTokenAsync (scopes As IEnumerable(Of String), loginHint As String, prompt As Prompt, extraQueryParameters As String, extraScopesToConsent As IEnumerable(Of String), authority As String) As Task(Of AuthenticationResult)" />
<MemberSignature Language="F#" Value="abstract member AcquireTokenAsync : seq<string> * string * Microsoft.Identity.Client.Prompt * string * seq<string> * string -> System.Threading.Tasks.Task<Microsoft.Identity.Client.AuthenticationResult>" Usage="iPublicClientApplication.AcquireTokenAsync (scopes, loginHint, prompt, extraQueryParameters, extraScopesToConsent, authority)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.Identity.Client</AssemblyName>
<AssemblyVersion>4.61.3.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("Use AcquireTokenInteractive instead. See https://aka.ms/msal-net-3-breaking-changes. ", true)]</AttributeName>
<AttributeName Language="F#">[<System.Obsolete("Use AcquireTokenInteractive instead. See https://aka.ms/msal-net-3-breaking-changes. ", true)>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Threading.Tasks.Task<Microsoft.Identity.Client.AuthenticationResult></ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="scopes" Type="System.Collections.Generic.IEnumerable<System.String>" />
<Parameter Name="loginHint" Type="System.String" />
<Parameter Name="prompt" Type="Microsoft.Identity.Client.Prompt" />
<Parameter Name="extraQueryParameters" Type="System.String" />
<Parameter Name="extraScopesToConsent" Type="System.Collections.Generic.IEnumerable<System.String>" />
<Parameter Name="authority" Type="System.String" />
</Parameters>
<Docs>
<param name="scopes">scopes requested to access a protected API</param>
<param name="loginHint">Identifier of the user. Generally in UserPrincipalName (UPN) format, e.g. <c>john.doe@contoso.com</c></param>
<param name="prompt">Designed interactive experience for the user.</param>
<param name="extraQueryParameters">This parameter will be appended as is to the query string in the HTTP authentication request to the authority.
This is expected to be a string of segments of the form <c>key=value</c> separated by an ampersand character.
The parameter can be null.</param>
<param name="extraScopesToConsent">scopes that you can request the end user to consent upfront, in addition to the scopes for the protected web API
for which you want to acquire a security token.</param>
<param name="authority">Specific authority for which the token is requested. Passing a different value than configured does not change the configured value</param>
<summary>
Interactive request to acquire token for a given login, with the possibility of controlling the user experience, passing extra query
parameters, providing extra scopes that the user can pre-consent to, and overriding the authority pre-configured in the application
</summary>
<returns>Authentication result containing a token for the requested scopes and account</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="AcquireTokenAsync">
<MemberSignature Language="C#" Value="public System.Threading.Tasks.Task<Microsoft.Identity.Client.AuthenticationResult> AcquireTokenAsync (System.Collections.Generic.IEnumerable<string> scopes, Microsoft.Identity.Client.IAccount account, Microsoft.Identity.Client.Prompt prompt, string extraQueryParameters, System.Collections.Generic.IEnumerable<string> extraScopesToConsent, string authority, Microsoft.Identity.Client.UIParent parent);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class System.Threading.Tasks.Task`1<class Microsoft.Identity.Client.AuthenticationResult> AcquireTokenAsync(class System.Collections.Generic.IEnumerable`1<string> scopes, class Microsoft.Identity.Client.IAccount account, valuetype Microsoft.Identity.Client.Prompt prompt, string extraQueryParameters, class System.Collections.Generic.IEnumerable`1<string> extraScopesToConsent, string authority, class Microsoft.Identity.Client.UIParent parent) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.Identity.Client.IPublicClientApplication.AcquireTokenAsync(System.Collections.Generic.IEnumerable{System.String},Microsoft.Identity.Client.IAccount,Microsoft.Identity.Client.Prompt,System.String,System.Collections.Generic.IEnumerable{System.String},System.String,Microsoft.Identity.Client.UIParent)" />
<MemberSignature Language="VB.NET" Value="Public Function AcquireTokenAsync (scopes As IEnumerable(Of String), account As IAccount, prompt As Prompt, extraQueryParameters As String, extraScopesToConsent As IEnumerable(Of String), authority As String, parent As UIParent) As Task(Of AuthenticationResult)" />
<MemberSignature Language="F#" Value="abstract member AcquireTokenAsync : seq<string> * Microsoft.Identity.Client.IAccount * Microsoft.Identity.Client.Prompt * string * seq<string> * string * Microsoft.Identity.Client.UIParent -> System.Threading.Tasks.Task<Microsoft.Identity.Client.AuthenticationResult>" Usage="iPublicClientApplication.AcquireTokenAsync (scopes, account, prompt, extraQueryParameters, extraScopesToConsent, authority, parent)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.Identity.Client</AssemblyName>
<AssemblyVersion>4.61.3.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("Use AcquireTokenInteractive instead. See https://aka.ms/msal-net-3-breaking-changes. ", true)]</AttributeName>
<AttributeName Language="F#">[<System.Obsolete("Use AcquireTokenInteractive instead. See https://aka.ms/msal-net-3-breaking-changes. ", true)>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Threading.Tasks.Task<Microsoft.Identity.Client.AuthenticationResult></ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="scopes" Type="System.Collections.Generic.IEnumerable<System.String>" />
<Parameter Name="account" Type="Microsoft.Identity.Client.IAccount" />
<Parameter Name="prompt" Type="Microsoft.Identity.Client.Prompt" />
<Parameter Name="extraQueryParameters" Type="System.String" />
<Parameter Name="extraScopesToConsent" Type="System.Collections.Generic.IEnumerable<System.String>" />
<Parameter Name="authority" Type="System.String" />
<Parameter Name="parent" Type="Microsoft.Identity.Client.UIParent" />
</Parameters>
<Docs>
<param name="scopes">Scopes requested to access a protected API</param>
<param name="account">Account to use for the interactive token acquisition. See <see cref="T:Microsoft.Identity.Client.IAccount" /> for ways to get an account</param>
<param name="prompt">Designed interactive experience for the user.</param>
<param name="extraQueryParameters">This parameter will be appended as is to the query string in the HTTP authentication request to the authority.
This is expected to be a string of segments of the form <c>key=value</c> separated by an ampersand character.
The parameter can be null.</param>
<param name="extraScopesToConsent">Scopes that you can request the end user to consent upfront, in addition to the scopes for the protected web API
for which you want to acquire a security token.</param>
<param name="authority">Specific authority for which the token is requested. Passing a different value than configured does not change the configured value</param>
<param name="parent">Object containing a reference to the parent window/activity. REQUIRED for Xamarin.Android only.</param>
<summary>
Interactive request to acquire token for a given account, with the possibility of controlling the user experience, passing extra query
parameters, providing extra scopes that the user can pre-consent to, and overriding the authority pre-configured in the application
</summary>
<returns>Authentication result containing a token for the requested scopes and account</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="AcquireTokenAsync">
<MemberSignature Language="C#" Value="public System.Threading.Tasks.Task<Microsoft.Identity.Client.AuthenticationResult> AcquireTokenAsync (System.Collections.Generic.IEnumerable<string> scopes, string loginHint, Microsoft.Identity.Client.Prompt prompt, string extraQueryParameters, System.Collections.Generic.IEnumerable<string> extraScopesToConsent, string authority, Microsoft.Identity.Client.UIParent parent);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class System.Threading.Tasks.Task`1<class Microsoft.Identity.Client.AuthenticationResult> AcquireTokenAsync(class System.Collections.Generic.IEnumerable`1<string> scopes, string loginHint, valuetype Microsoft.Identity.Client.Prompt prompt, string extraQueryParameters, class System.Collections.Generic.IEnumerable`1<string> extraScopesToConsent, string authority, class Microsoft.Identity.Client.UIParent parent) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.Identity.Client.IPublicClientApplication.AcquireTokenAsync(System.Collections.Generic.IEnumerable{System.String},System.String,Microsoft.Identity.Client.Prompt,System.String,System.Collections.Generic.IEnumerable{System.String},System.String,Microsoft.Identity.Client.UIParent)" />
<MemberSignature Language="VB.NET" Value="Public Function AcquireTokenAsync (scopes As IEnumerable(Of String), loginHint As String, prompt As Prompt, extraQueryParameters As String, extraScopesToConsent As IEnumerable(Of String), authority As String, parent As UIParent) As Task(Of AuthenticationResult)" />
<MemberSignature Language="F#" Value="abstract member AcquireTokenAsync : seq<string> * string * Microsoft.Identity.Client.Prompt * string * seq<string> * string * Microsoft.Identity.Client.UIParent -> System.Threading.Tasks.Task<Microsoft.Identity.Client.AuthenticationResult>" Usage="iPublicClientApplication.AcquireTokenAsync (scopes, loginHint, prompt, extraQueryParameters, extraScopesToConsent, authority, parent)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.Identity.Client</AssemblyName>
<AssemblyVersion>4.61.3.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("Use AcquireTokenInteractive instead. See https://aka.ms/msal-net-3-breaking-changes. ", true)]</AttributeName>
<AttributeName Language="F#">[<System.Obsolete("Use AcquireTokenInteractive instead. See https://aka.ms/msal-net-3-breaking-changes. ", true)>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Threading.Tasks.Task<Microsoft.Identity.Client.AuthenticationResult></ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="scopes" Type="System.Collections.Generic.IEnumerable<System.String>" />
<Parameter Name="loginHint" Type="System.String" />
<Parameter Name="prompt" Type="Microsoft.Identity.Client.Prompt" />
<Parameter Name="extraQueryParameters" Type="System.String" />
<Parameter Name="extraScopesToConsent" Type="System.Collections.Generic.IEnumerable<System.String>" />
<Parameter Name="authority" Type="System.String" />
<Parameter Name="parent" Type="Microsoft.Identity.Client.UIParent" />
</Parameters>
<Docs>
<param name="scopes">Scopes requested to access a protected API</param>
<param name="loginHint">Identifier of the user. Generally in UserPrincipalName (UPN) format, e.g. <c>john.doe@contoso.com</c></param>
<param name="prompt">Designed interactive experience for the user.</param>
<param name="extraQueryParameters">This parameter will be appended as is to the query string in the HTTP authentication request to the authority.
This is expected to be a string of segments of the form <c>key=value</c> separated by an ampersand character.
The parameter can be null.</param>
<param name="extraScopesToConsent">Scopes that you can request the end user to consent upfront, in addition to the scopes for the protected web API
for which you want to acquire a security token.</param>
<param name="authority">Specific authority for which the token is requested. Passing a different value than configured does not change the configured value</param>
<param name="parent">Object containing a reference to the parent window/activity. REQUIRED for Xamarin.Android only.</param>
<summary>
Interactive request to acquire token for a given login, with the possibility of controlling the user experience, passing extra query
parameters, providing extra scopes that the user can pre-consent to, and overriding the authority pre-configured in the application
</summary>
<returns>Authentication result containing a token for the requested scopes and account</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="AcquireTokenByIntegratedWindowsAuth">
<MemberSignature Language="C#" Value="public Microsoft.Identity.Client.AcquireTokenByIntegratedWindowsAuthParameterBuilder AcquireTokenByIntegratedWindowsAuth (System.Collections.Generic.IEnumerable<string> scopes);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class Microsoft.Identity.Client.AcquireTokenByIntegratedWindowsAuthParameterBuilder AcquireTokenByIntegratedWindowsAuth(class System.Collections.Generic.IEnumerable`1<string> scopes) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.Identity.Client.IPublicClientApplication.AcquireTokenByIntegratedWindowsAuth(System.Collections.Generic.IEnumerable{System.String})" />
<MemberSignature Language="VB.NET" Value="Public Function AcquireTokenByIntegratedWindowsAuth (scopes As IEnumerable(Of String)) As AcquireTokenByIntegratedWindowsAuthParameterBuilder" />
<MemberSignature Language="F#" Value="abstract member AcquireTokenByIntegratedWindowsAuth : seq<string> -> Microsoft.Identity.Client.AcquireTokenByIntegratedWindowsAuthParameterBuilder" Usage="iPublicClientApplication.AcquireTokenByIntegratedWindowsAuth scopes" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.Identity.Client</AssemblyName>
<AssemblyVersion>4.61.3.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>Microsoft.Identity.Client.AcquireTokenByIntegratedWindowsAuthParameterBuilder</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="scopes" Type="System.Collections.Generic.IEnumerable<System.String>" />
</Parameters>
<Docs>
<param name="scopes">Scopes requested to access a protected API.</param>
<summary>
<para>
This API is no longer recommended and will be deprecated in future versions in favor of
similar functionality via <see href="https://aka.ms/msal-net-wam">the Windows broker (WAM)</see>.
WAM does not require any setup for desktop apps to login with the Windows account.
</para>
<para>
Acquires a token non-interactively for the signed-in user in Windows
via Integrated Windows Authentication.
The account used in this overrides is pulled from the operating system as the current user principal name.
This method does not look in the token cache, but stores the result in it. Before calling this method, use other methods
such as <see cref="M:Microsoft.Identity.Client.IClientApplicationBase.AcquireTokenSilent(System.Collections.Generic.IEnumerable{System.String},Microsoft.Identity.Client.IAccount)" /> to check the token cache.
</para>
</summary>
<returns>A builder enabling you to add optional parameters before executing the token request.</returns>
<remarks>
See <see href="https://aka.ms/msal-net-iwa">our documentation</see> for more details.
</remarks>
</Docs>
</Member>
<Member MemberName="AcquireTokenByIntegratedWindowsAuthAsync">
<MemberSignature Language="C#" Value="public System.Threading.Tasks.Task<Microsoft.Identity.Client.AuthenticationResult> AcquireTokenByIntegratedWindowsAuthAsync (System.Collections.Generic.IEnumerable<string> scopes);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class System.Threading.Tasks.Task`1<class Microsoft.Identity.Client.AuthenticationResult> AcquireTokenByIntegratedWindowsAuthAsync(class System.Collections.Generic.IEnumerable`1<string> scopes) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.Identity.Client.IPublicClientApplication.AcquireTokenByIntegratedWindowsAuthAsync(System.Collections.Generic.IEnumerable{System.String})" />
<MemberSignature Language="VB.NET" Value="Public Function AcquireTokenByIntegratedWindowsAuthAsync (scopes As IEnumerable(Of String)) As Task(Of AuthenticationResult)" />
<MemberSignature Language="F#" Value="abstract member AcquireTokenByIntegratedWindowsAuthAsync : seq<string> -> System.Threading.Tasks.Task<Microsoft.Identity.Client.AuthenticationResult>" Usage="iPublicClientApplication.AcquireTokenByIntegratedWindowsAuthAsync scopes" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.Identity.Client</AssemblyName>
<AssemblyVersion>4.61.3.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("Use AcquireTokenByIntegratedWindowsAuth instead. See https://aka.ms/msal-net-3-breaking-changes. ", true)]</AttributeName>
<AttributeName Language="F#">[<System.Obsolete("Use AcquireTokenByIntegratedWindowsAuth instead. See https://aka.ms/msal-net-3-breaking-changes. ", true)>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Threading.Tasks.Task<Microsoft.Identity.Client.AuthenticationResult></ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="scopes" Type="System.Collections.Generic.IEnumerable<System.String>" />
</Parameters>
<Docs>
<param name="scopes">Scopes requested to access a protected API</param>
<summary>
Non-interactive request to acquire a security token for the signed-in user in Windows, via Integrated Windows Authentication.
See https://aka.ms/msal-net-iwa.
The account used in this overrides is pulled from the operating system as the current user principal name
</summary>
<returns>Authentication result containing a token for the requested scopes and for the currently signed-in user in Windows</returns>
<remarks>
On Windows Universal Platform, the following capabilities need to be provided:
Enterprise Authentication, Private Networks (Client and Server), User Account Information
</remarks>
</Docs>
</Member>
<Member MemberName="AcquireTokenByIntegratedWindowsAuthAsync">
<MemberSignature Language="C#" Value="public System.Threading.Tasks.Task<Microsoft.Identity.Client.AuthenticationResult> AcquireTokenByIntegratedWindowsAuthAsync (System.Collections.Generic.IEnumerable<string> scopes, string username);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class System.Threading.Tasks.Task`1<class Microsoft.Identity.Client.AuthenticationResult> AcquireTokenByIntegratedWindowsAuthAsync(class System.Collections.Generic.IEnumerable`1<string> scopes, string username) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.Identity.Client.IPublicClientApplication.AcquireTokenByIntegratedWindowsAuthAsync(System.Collections.Generic.IEnumerable{System.String},System.String)" />
<MemberSignature Language="VB.NET" Value="Public Function AcquireTokenByIntegratedWindowsAuthAsync (scopes As IEnumerable(Of String), username As String) As Task(Of AuthenticationResult)" />
<MemberSignature Language="F#" Value="abstract member AcquireTokenByIntegratedWindowsAuthAsync : seq<string> * string -> System.Threading.Tasks.Task<Microsoft.Identity.Client.AuthenticationResult>" Usage="iPublicClientApplication.AcquireTokenByIntegratedWindowsAuthAsync (scopes, username)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.Identity.Client</AssemblyName>
<AssemblyVersion>4.61.3.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("Use AcquireTokenByIntegratedWindowsAuth instead. See https://aka.ms/msal-net-3-breaking-changes. ", true)]</AttributeName>
<AttributeName Language="F#">[<System.Obsolete("Use AcquireTokenByIntegratedWindowsAuth instead. See https://aka.ms/msal-net-3-breaking-changes. ", true)>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Threading.Tasks.Task<Microsoft.Identity.Client.AuthenticationResult></ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="scopes" Type="System.Collections.Generic.IEnumerable<System.String>" />
<Parameter Name="username" Type="System.String" />
</Parameters>
<Docs>
<param name="scopes">Scopes requested to access a protected API</param>
<param name="username">Identifier of the user account for which to acquire a token with Integrated Windows authentication.
Generally in UserPrincipalName (UPN) format, e.g. john.doe@contoso.com</param>
<summary>
Non-interactive request to acquire a security token for the signed-in user in Windows, via Integrated Windows Authentication.
See https://aka.ms/msal-net-iwa.
The account used in this overrides is pulled from the operating system as the current user principal name
</summary>
<returns>Authentication result containing a token for the requested scopes and for the currently signed-in user in Windows</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="AcquireTokenByUsernamePassword">
<MemberSignature Language="C#" Value="public Microsoft.Identity.Client.AcquireTokenByUsernamePasswordParameterBuilder AcquireTokenByUsernamePassword (System.Collections.Generic.IEnumerable<string> scopes, string username, System.Security.SecureString password);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class Microsoft.Identity.Client.AcquireTokenByUsernamePasswordParameterBuilder AcquireTokenByUsernamePassword(class System.Collections.Generic.IEnumerable`1<string> scopes, string username, class System.Security.SecureString password) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.Identity.Client.IPublicClientApplication.AcquireTokenByUsernamePassword(System.Collections.Generic.IEnumerable{System.String},System.String,System.Security.SecureString)" />
<MemberSignature Language="VB.NET" Value="Public Function AcquireTokenByUsernamePassword (scopes As IEnumerable(Of String), username As String, password As SecureString) As AcquireTokenByUsernamePasswordParameterBuilder" />
<MemberSignature Language="F#" Value="abstract member AcquireTokenByUsernamePassword : seq<string> * string * System.Security.SecureString -> Microsoft.Identity.Client.AcquireTokenByUsernamePasswordParameterBuilder" Usage="iPublicClientApplication.AcquireTokenByUsernamePassword (scopes, username, password)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.Identity.Client</AssemblyName>
<AssemblyVersion>4.61.3.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("Using SecureString is not recommended. Use AcquireTokenByUsernamePassword(IEnumerable<string> scopes, string username, string password) instead.", false)]</AttributeName>
<AttributeName Language="F#">[<System.Obsolete("Using SecureString is not recommended. Use AcquireTokenByUsernamePassword(IEnumerable<string> scopes, string username, string password) instead.", false)>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Microsoft.Identity.Client.AcquireTokenByUsernamePasswordParameterBuilder</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="scopes" Type="System.Collections.Generic.IEnumerable<System.String>" />
<Parameter Name="username" Type="System.String" />
<Parameter Name="password" Type="System.Security.SecureString" />
</Parameters>
<Docs>
<param name="scopes">Scopes requested to access a protected API</param>
<param name="username">Identifier of the user application requests token on behalf.
Generally in UserPrincipalName (UPN) format, e.g. <c>john.doe@contoso.com</c></param>
<param name="password">User password as a secure string.</param>
<summary>
Non-interactive request to acquire a token via username and password authentication.
</summary>
<returns>A builder enabling you to add optional parameters before executing the token request</returns>
<remarks>
Available only for .NET Framework and .NET Core applications. See <see href="https://aka.ms/msal-net-up">our documentation</see> for details.
.NET no longer recommends using SecureString and MSAL puts the plaintext value of the password on the wire, as required by the OAuth protocol. See <see href="https://docs.microsoft.com/dotnet/api/system.security.securestring?view=net-6.0#remarks">SecureString documentation</see> for details.
</remarks>
</Docs>
</Member>
<Member MemberName="AcquireTokenByUsernamePassword">
<MemberSignature Language="C#" Value="public Microsoft.Identity.Client.AcquireTokenByUsernamePasswordParameterBuilder AcquireTokenByUsernamePassword (System.Collections.Generic.IEnumerable<string> scopes, string username, string password);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class Microsoft.Identity.Client.AcquireTokenByUsernamePasswordParameterBuilder AcquireTokenByUsernamePassword(class System.Collections.Generic.IEnumerable`1<string> scopes, string username, string password) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.Identity.Client.IPublicClientApplication.AcquireTokenByUsernamePassword(System.Collections.Generic.IEnumerable{System.String},System.String,System.String)" />
<MemberSignature Language="VB.NET" Value="Public Function AcquireTokenByUsernamePassword (scopes As IEnumerable(Of String), username As String, password As String) As AcquireTokenByUsernamePasswordParameterBuilder" />
<MemberSignature Language="F#" Value="abstract member AcquireTokenByUsernamePassword : seq<string> * string * string -> Microsoft.Identity.Client.AcquireTokenByUsernamePasswordParameterBuilder" Usage="iPublicClientApplication.AcquireTokenByUsernamePassword (scopes, username, password)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.Identity.Client</AssemblyName>
<AssemblyVersion>4.61.3.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>Microsoft.Identity.Client.AcquireTokenByUsernamePasswordParameterBuilder</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="scopes" Type="System.Collections.Generic.IEnumerable<System.String>" />
<Parameter Name="username" Type="System.String" />
<Parameter Name="password" Type="System.String" />
</Parameters>
<Docs>
<param name="scopes">Scopes requested to access a protected API.</param>
<param name="username">Identifier of the user application requests token on behalf.
Generally in UserPrincipalName (UPN) format, e.g. <c>john.doe@contoso.com</c></param>
<param name="password">User password as a string.</param>
<summary>
Acquires a token without user interaction using username and password authentication.
This method does not look in the token cache, but stores the result in it. Before calling this method, use other methods
such as <see cref="M:Microsoft.Identity.Client.IClientApplicationBase.AcquireTokenSilent(System.Collections.Generic.IEnumerable{System.String},Microsoft.Identity.Client.IAccount)" /> to check the token cache.
</summary>
<returns>A builder enabling you to add optional parameters before executing the token request.</returns>
<remarks>
Available only for .NET Framework and .NET Core applications. See <see href="https://aka.ms/msal-net-up">our documentation</see> for details.
</remarks>
</Docs>
</Member>
<Member MemberName="AcquireTokenByUsernamePasswordAsync">
<MemberSignature Language="C#" Value="public System.Threading.Tasks.Task<Microsoft.Identity.Client.AuthenticationResult> AcquireTokenByUsernamePasswordAsync (System.Collections.Generic.IEnumerable<string> scopes, string username, System.Security.SecureString securePassword);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class System.Threading.Tasks.Task`1<class Microsoft.Identity.Client.AuthenticationResult> AcquireTokenByUsernamePasswordAsync(class System.Collections.Generic.IEnumerable`1<string> scopes, string username, class System.Security.SecureString securePassword) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.Identity.Client.IPublicClientApplication.AcquireTokenByUsernamePasswordAsync(System.Collections.Generic.IEnumerable{System.String},System.String,System.Security.SecureString)" />
<MemberSignature Language="VB.NET" Value="Public Function AcquireTokenByUsernamePasswordAsync (scopes As IEnumerable(Of String), username As String, securePassword As SecureString) As Task(Of AuthenticationResult)" />
<MemberSignature Language="F#" Value="abstract member AcquireTokenByUsernamePasswordAsync : seq<string> * string * System.Security.SecureString -> System.Threading.Tasks.Task<Microsoft.Identity.Client.AuthenticationResult>" Usage="iPublicClientApplication.AcquireTokenByUsernamePasswordAsync (scopes, username, securePassword)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.Identity.Client</AssemblyName>
<AssemblyVersion>4.61.3.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("Use AcquireTokenByUsernamePassword instead. See https://aka.ms/msal-net-3-breaking-changes. ", true)]</AttributeName>
<AttributeName Language="F#">[<System.Obsolete("Use AcquireTokenByUsernamePassword instead. See https://aka.ms/msal-net-3-breaking-changes. ", true)>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Threading.Tasks.Task<Microsoft.Identity.Client.AuthenticationResult></ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="scopes" Type="System.Collections.Generic.IEnumerable<System.String>" />
<Parameter Name="username" Type="System.String" />
<Parameter Name="securePassword" Type="System.Security.SecureString" />
</Parameters>
<Docs>
<param name="scopes">Scopes requested to access a protected API</param>
<param name="username">Identifier of the user application requests token on behalf.
Generally in UserPrincipalName (UPN) format, e.g. john.doe@contoso.com</param>
<param name="securePassword">User password.</param>
<summary>
Non-interactive request to acquire a security token from the authority, via Username/Password Authentication.
See https://aka.ms/msal-net-up.
</summary>
<returns>Authentication result containing a token for the requested scopes and account</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="AcquireTokenInteractive">
<MemberSignature Language="C#" Value="public Microsoft.Identity.Client.AcquireTokenInteractiveParameterBuilder AcquireTokenInteractive (System.Collections.Generic.IEnumerable<string> scopes);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class Microsoft.Identity.Client.AcquireTokenInteractiveParameterBuilder AcquireTokenInteractive(class System.Collections.Generic.IEnumerable`1<string> scopes) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.Identity.Client.IPublicClientApplication.AcquireTokenInteractive(System.Collections.Generic.IEnumerable{System.String})" />
<MemberSignature Language="VB.NET" Value="Public Function AcquireTokenInteractive (scopes As IEnumerable(Of String)) As AcquireTokenInteractiveParameterBuilder" />
<MemberSignature Language="F#" Value="abstract member AcquireTokenInteractive : seq<string> -> Microsoft.Identity.Client.AcquireTokenInteractiveParameterBuilder" Usage="iPublicClientApplication.AcquireTokenInteractive scopes" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.Identity.Client</AssemblyName>
<AssemblyVersion>4.61.3.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>Microsoft.Identity.Client.AcquireTokenInteractiveParameterBuilder</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="scopes" Type="System.Collections.Generic.IEnumerable<System.String>" />
</Parameters>
<Docs>
<param name="scopes">Scopes requested to access a protected API.</param>
<summary>
Acquires a token interactively for the specified scopes. Either a system browser, an embedded browser, or a broker will
handle this request, depending on the version of .NET framework used and on configuration.
For Microsoft Entra applications, a broker is recommended. See <see href="https://aka.ms/msal-net-wam">Windows Broker</see>.
This method does not look in the token cache, but stores the result in it. Before calling this method, use other methods
such as <see cref="M:Microsoft.Identity.Client.IClientApplicationBase.AcquireTokenSilent(System.Collections.Generic.IEnumerable{System.String},Microsoft.Identity.Client.IAccount)" /> to check the token cache.
See <see href="https://aka.ms/adal-to-msal-net/interactive">Interactive Authentication</see>.
</summary>
<returns>A builder enabling you to add optional parameters before executing the token request.</returns>
<remarks>The user will be signed-in interactively and will consent to scopes, as well as perform a multi-factor authentication step if such a policy was enabled in the Azure AD tenant.
</remarks>
</Docs>
</Member>
<Member MemberName="AcquireTokenWithDeviceCode">
<MemberSignature Language="C#" Value="public Microsoft.Identity.Client.AcquireTokenWithDeviceCodeParameterBuilder AcquireTokenWithDeviceCode (System.Collections.Generic.IEnumerable<string> scopes, Func<Microsoft.Identity.Client.DeviceCodeResult,System.Threading.Tasks.Task> deviceCodeResultCallback);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class Microsoft.Identity.Client.AcquireTokenWithDeviceCodeParameterBuilder AcquireTokenWithDeviceCode(class System.Collections.Generic.IEnumerable`1<string> scopes, class System.Func`2<class Microsoft.Identity.Client.DeviceCodeResult, class System.Threading.Tasks.Task> deviceCodeResultCallback) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.Identity.Client.IPublicClientApplication.AcquireTokenWithDeviceCode(System.Collections.Generic.IEnumerable{System.String},System.Func{Microsoft.Identity.Client.DeviceCodeResult,System.Threading.Tasks.Task})" />
<MemberSignature Language="VB.NET" Value="Public Function AcquireTokenWithDeviceCode (scopes As IEnumerable(Of String), deviceCodeResultCallback As Func(Of DeviceCodeResult, Task)) As AcquireTokenWithDeviceCodeParameterBuilder" />
<MemberSignature Language="F#" Value="abstract member AcquireTokenWithDeviceCode : seq<string> * Func<Microsoft.Identity.Client.DeviceCodeResult, System.Threading.Tasks.Task> -> Microsoft.Identity.Client.AcquireTokenWithDeviceCodeParameterBuilder" Usage="iPublicClientApplication.AcquireTokenWithDeviceCode (scopes, deviceCodeResultCallback)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.Identity.Client</AssemblyName>
<AssemblyVersion>4.61.3.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>Microsoft.Identity.Client.AcquireTokenWithDeviceCodeParameterBuilder</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="scopes" Type="System.Collections.Generic.IEnumerable<System.String>" />
<Parameter Name="deviceCodeResultCallback" Type="System.Func<Microsoft.Identity.Client.DeviceCodeResult,System.Threading.Tasks.Task>" />
</Parameters>
<Docs>
<param name="scopes">Scopes requested to access a protected API.</param>
<param name="deviceCodeResultCallback">Callback containing information to show the user about how to authenticate and enter the device code.</param>
<summary>
Acquires a token on a device without a web browser by letting the user authenticate on
another device.
This method does not look in the token cache, but stores the result in it. Before calling this method, use other methods
such as <see cref="M:Microsoft.Identity.Client.IClientApplicationBase.AcquireTokenSilent(System.Collections.Generic.IEnumerable{System.String},Microsoft.Identity.Client.IAccount)" /> to check the token cache.
</summary>
<returns>A builder enabling you to add optional parameters before executing the token request.</returns>
<remarks>
The token acquisition is done in two steps:
<list type="bullet"><item><description>The method first acquires a device code from the authority and returns it to the caller via
the <paramref name="deviceCodeResultCallback" />. This callback takes care of interacting with the user
to direct them to authenticate (i.e., to a specific URL, with a code).</description></item><item><description>The method then proceeds to poll for the security
token which is granted upon successful login by the user based on the device code information.</description></item></list>
See <see href="https://aka.ms/msal-device-code-flow">Device Code Flow</see>.
</remarks>
</Docs>
</Member>
<Member MemberName="AcquireTokenWithDeviceCodeAsync">
<MemberSignature Language="C#" Value="public System.Threading.Tasks.Task<Microsoft.Identity.Client.AuthenticationResult> AcquireTokenWithDeviceCodeAsync (System.Collections.Generic.IEnumerable<string> scopes, Func<Microsoft.Identity.Client.DeviceCodeResult,System.Threading.Tasks.Task> deviceCodeResultCallback);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class System.Threading.Tasks.Task`1<class Microsoft.Identity.Client.AuthenticationResult> AcquireTokenWithDeviceCodeAsync(class System.Collections.Generic.IEnumerable`1<string> scopes, class System.Func`2<class Microsoft.Identity.Client.DeviceCodeResult, class System.Threading.Tasks.Task> deviceCodeResultCallback) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.Identity.Client.IPublicClientApplication.AcquireTokenWithDeviceCodeAsync(System.Collections.Generic.IEnumerable{System.String},System.Func{Microsoft.Identity.Client.DeviceCodeResult,System.Threading.Tasks.Task})" />
<MemberSignature Language="VB.NET" Value="Public Function AcquireTokenWithDeviceCodeAsync (scopes As IEnumerable(Of String), deviceCodeResultCallback As Func(Of DeviceCodeResult, Task)) As Task(Of AuthenticationResult)" />
<MemberSignature Language="F#" Value="abstract member AcquireTokenWithDeviceCodeAsync : seq<string> * Func<Microsoft.Identity.Client.DeviceCodeResult, System.Threading.Tasks.Task> -> System.Threading.Tasks.Task<Microsoft.Identity.Client.AuthenticationResult>" Usage="iPublicClientApplication.AcquireTokenWithDeviceCodeAsync (scopes, deviceCodeResultCallback)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.Identity.Client</AssemblyName>
<AssemblyVersion>4.61.3.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("Use AcquireTokenWithDeviceCode instead. See https://aka.ms/msal-net-3-breaking-changes. ", true)]</AttributeName>