azureauth 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.prettierrc +3 -0
- package/bin/azureauth/AdoPat.dll +0 -0
- package/bin/azureauth/AdoPat.pdb +0 -0
- package/bin/azureauth/MSALWrapper.dll +0 -0
- package/bin/azureauth/MSALWrapper.pdb +0 -0
- package/bin/azureauth/MSALWrapper.xml +996 -0
- package/bin/azureauth/McMaster.Extensions.CommandLineUtils.dll +0 -0
- package/bin/azureauth/Microsoft.ApplicationInsights.dll +0 -0
- package/bin/azureauth/Microsoft.Applications.Events.Server.Core2.dll +0 -0
- package/bin/azureauth/Microsoft.CSharp.dll +0 -0
- package/bin/azureauth/Microsoft.Data.Sqlite.dll +0 -0
- package/bin/azureauth/Microsoft.DiaSymReader.Native.amd64.dll +0 -0
- package/bin/azureauth/Microsoft.Extensions.Configuration.Abstractions.dll +0 -0
- package/bin/azureauth/Microsoft.Extensions.Configuration.Binder.dll +0 -0
- package/bin/azureauth/Microsoft.Extensions.Configuration.dll +0 -0
- package/bin/azureauth/Microsoft.Extensions.DependencyInjection.Abstractions.dll +0 -0
- package/bin/azureauth/Microsoft.Extensions.DependencyInjection.dll +0 -0
- package/bin/azureauth/Microsoft.Extensions.Logging.Abstractions.dll +0 -0
- package/bin/azureauth/Microsoft.Extensions.Logging.dll +0 -0
- package/bin/azureauth/Microsoft.Extensions.Options.dll +0 -0
- package/bin/azureauth/Microsoft.Extensions.Primitives.dll +0 -0
- package/bin/azureauth/Microsoft.Identity.Client.Broker.dll +0 -0
- package/bin/azureauth/Microsoft.Identity.Client.Extensions.Msal.dll +0 -0
- package/bin/azureauth/Microsoft.Identity.Client.NativeInterop.dll +0 -0
- package/bin/azureauth/Microsoft.Identity.Client.dll +0 -0
- package/bin/azureauth/Microsoft.IdentityModel.Abstractions.dll +0 -0
- package/bin/azureauth/Microsoft.IdentityModel.JsonWebTokens.dll +0 -0
- package/bin/azureauth/Microsoft.IdentityModel.Logging.dll +0 -0
- package/bin/azureauth/Microsoft.IdentityModel.Tokens.dll +0 -0
- package/bin/azureauth/Microsoft.Office.Lasso.dll +0 -0
- package/bin/azureauth/Microsoft.TeamFoundation.Common.dll +0 -0
- package/bin/azureauth/Microsoft.VisualStudio.Services.Common.dll +0 -0
- package/bin/azureauth/Microsoft.VisualStudio.Services.WebApi.dll +0 -0
- package/bin/azureauth/Microsoft.Win32.Primitives.dll +0 -0
- package/bin/azureauth/Microsoft.Win32.Registry.dll +0 -0
- package/bin/azureauth/NLog.Extensions.Logging.dll +0 -0
- package/bin/azureauth/NLog.dll +0 -0
- package/bin/azureauth/Newtonsoft.Json.Bson.dll +0 -0
- package/bin/azureauth/Newtonsoft.Json.dll +0 -0
- package/bin/azureauth/SQLitePCLRaw.batteries_green.dll +0 -0
- package/bin/azureauth/SQLitePCLRaw.batteries_v2.dll +0 -0
- package/bin/azureauth/SQLitePCLRaw.core.dll +0 -0
- package/bin/azureauth/SQLitePCLRaw.provider.e_sqlite3.dll +0 -0
- package/bin/azureauth/System.Buffers.dll +0 -0
- package/bin/azureauth/System.Collections.Concurrent.dll +0 -0
- package/bin/azureauth/System.Collections.Immutable.dll +0 -0
- package/bin/azureauth/System.Collections.NonGeneric.dll +0 -0
- package/bin/azureauth/System.Collections.Specialized.dll +0 -0
- package/bin/azureauth/System.Collections.dll +0 -0
- package/bin/azureauth/System.ComponentModel.Annotations.dll +0 -0
- package/bin/azureauth/System.ComponentModel.EventBasedAsync.dll +0 -0
- package/bin/azureauth/System.ComponentModel.Primitives.dll +0 -0
- package/bin/azureauth/System.ComponentModel.TypeConverter.dll +0 -0
- package/bin/azureauth/System.ComponentModel.dll +0 -0
- package/bin/azureauth/System.Configuration.ConfigurationManager.dll +0 -0
- package/bin/azureauth/System.Console.dll +0 -0
- package/bin/azureauth/System.Data.Common.dll +0 -0
- package/bin/azureauth/System.Data.SqlClient.dll +0 -0
- package/bin/azureauth/System.Diagnostics.Debug.dll +0 -0
- package/bin/azureauth/System.Diagnostics.DiagnosticSource.dll +0 -0
- package/bin/azureauth/System.Diagnostics.FileVersionInfo.dll +0 -0
- package/bin/azureauth/System.Diagnostics.Process.dll +0 -0
- package/bin/azureauth/System.Diagnostics.StackTrace.dll +0 -0
- package/bin/azureauth/System.Diagnostics.TextWriterTraceListener.dll +0 -0
- package/bin/azureauth/System.Diagnostics.Tools.dll +0 -0
- package/bin/azureauth/System.Diagnostics.TraceSource.dll +0 -0
- package/bin/azureauth/System.Diagnostics.Tracing.dll +0 -0
- package/bin/azureauth/System.Drawing.Primitives.dll +0 -0
- package/bin/azureauth/System.Drawing.dll +0 -0
- package/bin/azureauth/System.Formats.Asn1.dll +0 -0
- package/bin/azureauth/System.Globalization.dll +0 -0
- package/bin/azureauth/System.IO.Abstractions.dll +0 -0
- package/bin/azureauth/System.IO.Compression.Brotli.dll +0 -0
- package/bin/azureauth/System.IO.Compression.Native.dll +0 -0
- package/bin/azureauth/System.IO.Compression.dll +0 -0
- package/bin/azureauth/System.IO.FileSystem.AccessControl.dll +0 -0
- package/bin/azureauth/System.IO.FileSystem.DriveInfo.dll +0 -0
- package/bin/azureauth/System.IO.FileSystem.Watcher.dll +0 -0
- package/bin/azureauth/System.IO.FileSystem.dll +0 -0
- package/bin/azureauth/System.IO.MemoryMappedFiles.dll +0 -0
- package/bin/azureauth/System.IO.Pipes.dll +0 -0
- package/bin/azureauth/System.IO.dll +0 -0
- package/bin/azureauth/System.Linq.Expressions.dll +0 -0
- package/bin/azureauth/System.Linq.dll +0 -0
- package/bin/azureauth/System.Memory.dll +0 -0
- package/bin/azureauth/System.Net.Http.Formatting.dll +0 -0
- package/bin/azureauth/System.Net.Http.dll +0 -0
- package/bin/azureauth/System.Net.HttpListener.dll +0 -0
- package/bin/azureauth/System.Net.Mail.dll +0 -0
- package/bin/azureauth/System.Net.NameResolution.dll +0 -0
- package/bin/azureauth/System.Net.NetworkInformation.dll +0 -0
- package/bin/azureauth/System.Net.Primitives.dll +0 -0
- package/bin/azureauth/System.Net.Quic.dll +0 -0
- package/bin/azureauth/System.Net.Requests.dll +0 -0
- package/bin/azureauth/System.Net.Security.dll +0 -0
- package/bin/azureauth/System.Net.ServicePoint.dll +0 -0
- package/bin/azureauth/System.Net.Sockets.dll +0 -0
- package/bin/azureauth/System.Net.WebClient.dll +0 -0
- package/bin/azureauth/System.Net.WebHeaderCollection.dll +0 -0
- package/bin/azureauth/System.Net.WebProxy.dll +0 -0
- package/bin/azureauth/System.ObjectModel.dll +0 -0
- package/bin/azureauth/System.Private.CoreLib.dll +0 -0
- package/bin/azureauth/System.Private.DataContractSerialization.dll +0 -0
- package/bin/azureauth/System.Private.Uri.dll +0 -0
- package/bin/azureauth/System.Private.Xml.Linq.dll +0 -0
- package/bin/azureauth/System.Private.Xml.dll +0 -0
- package/bin/azureauth/System.Reflection.Emit.ILGeneration.dll +0 -0
- package/bin/azureauth/System.Reflection.Emit.Lightweight.dll +0 -0
- package/bin/azureauth/System.Reflection.Metadata.dll +0 -0
- package/bin/azureauth/System.Reflection.Primitives.dll +0 -0
- package/bin/azureauth/System.Resources.ResourceManager.dll +0 -0
- package/bin/azureauth/System.Resources.Writer.dll +0 -0
- package/bin/azureauth/System.Runtime.CompilerServices.Unsafe.dll +0 -0
- package/bin/azureauth/System.Runtime.Extensions.dll +0 -0
- package/bin/azureauth/System.Runtime.InteropServices.RuntimeInformation.dll +0 -0
- package/bin/azureauth/System.Runtime.InteropServices.dll +0 -0
- package/bin/azureauth/System.Runtime.Numerics.dll +0 -0
- package/bin/azureauth/System.Runtime.Serialization.Formatters.dll +0 -0
- package/bin/azureauth/System.Runtime.Serialization.Primitives.dll +0 -0
- package/bin/azureauth/System.Runtime.dll +0 -0
- package/bin/azureauth/System.Security.AccessControl.dll +0 -0
- package/bin/azureauth/System.Security.Claims.dll +0 -0
- package/bin/azureauth/System.Security.Cryptography.Algorithms.dll +0 -0
- package/bin/azureauth/System.Security.Cryptography.Cng.dll +0 -0
- package/bin/azureauth/System.Security.Cryptography.Csp.dll +0 -0
- package/bin/azureauth/System.Security.Cryptography.Encoding.dll +0 -0
- package/bin/azureauth/System.Security.Cryptography.Primitives.dll +0 -0
- package/bin/azureauth/System.Security.Cryptography.ProtectedData.dll +0 -0
- package/bin/azureauth/System.Security.Cryptography.X509Certificates.dll +0 -0
- package/bin/azureauth/System.Security.Principal.Windows.dll +0 -0
- package/bin/azureauth/System.Text.Encoding.CodePages.dll +0 -0
- package/bin/azureauth/System.Text.Encoding.Extensions.dll +0 -0
- package/bin/azureauth/System.Text.Encoding.dll +0 -0
- package/bin/azureauth/System.Text.Encodings.Web.dll +0 -0
- package/bin/azureauth/System.Text.Json.dll +0 -0
- package/bin/azureauth/System.Text.RegularExpressions.dll +0 -0
- package/bin/azureauth/System.Threading.Channels.dll +0 -0
- package/bin/azureauth/System.Threading.Tasks.Parallel.dll +0 -0
- package/bin/azureauth/System.Threading.Tasks.dll +0 -0
- package/bin/azureauth/System.Threading.Thread.dll +0 -0
- package/bin/azureauth/System.Threading.ThreadPool.dll +0 -0
- package/bin/azureauth/System.Threading.Timer.dll +0 -0
- package/bin/azureauth/System.Threading.dll +0 -0
- package/bin/azureauth/System.Transactions.Local.dll +0 -0
- package/bin/azureauth/System.Xml.ReaderWriter.dll +0 -0
- package/bin/azureauth/System.Xml.XDocument.dll +0 -0
- package/bin/azureauth/System.Xml.XPath.XmlDocument.dll +0 -0
- package/bin/azureauth/System.Xml.XPath.dll +0 -0
- package/bin/azureauth/System.Xml.XmlDocument.dll +0 -0
- package/bin/azureauth/System.Xml.XmlSerializer.dll +0 -0
- package/bin/azureauth/System.dll +0 -0
- package/bin/azureauth/Tomlyn.dll +0 -0
- package/bin/azureauth/api-ms-win-core-console-l1-1-0.dll +0 -0
- package/bin/azureauth/api-ms-win-core-console-l1-2-0.dll +0 -0
- package/bin/azureauth/api-ms-win-core-datetime-l1-1-0.dll +0 -0
- package/bin/azureauth/api-ms-win-core-debug-l1-1-0.dll +0 -0
- package/bin/azureauth/api-ms-win-core-errorhandling-l1-1-0.dll +0 -0
- package/bin/azureauth/api-ms-win-core-fibers-l1-1-0.dll +0 -0
- package/bin/azureauth/api-ms-win-core-file-l1-1-0.dll +0 -0
- package/bin/azureauth/api-ms-win-core-file-l1-2-0.dll +0 -0
- package/bin/azureauth/api-ms-win-core-file-l2-1-0.dll +0 -0
- package/bin/azureauth/api-ms-win-core-handle-l1-1-0.dll +0 -0
- package/bin/azureauth/api-ms-win-core-heap-l1-1-0.dll +0 -0
- package/bin/azureauth/api-ms-win-core-interlocked-l1-1-0.dll +0 -0
- package/bin/azureauth/api-ms-win-core-libraryloader-l1-1-0.dll +0 -0
- package/bin/azureauth/api-ms-win-core-localization-l1-2-0.dll +0 -0
- package/bin/azureauth/api-ms-win-core-memory-l1-1-0.dll +0 -0
- package/bin/azureauth/api-ms-win-core-namedpipe-l1-1-0.dll +0 -0
- package/bin/azureauth/api-ms-win-core-processenvironment-l1-1-0.dll +0 -0
- package/bin/azureauth/api-ms-win-core-processthreads-l1-1-0.dll +0 -0
- package/bin/azureauth/api-ms-win-core-processthreads-l1-1-1.dll +0 -0
- package/bin/azureauth/api-ms-win-core-profile-l1-1-0.dll +0 -0
- package/bin/azureauth/api-ms-win-core-rtlsupport-l1-1-0.dll +0 -0
- package/bin/azureauth/api-ms-win-core-string-l1-1-0.dll +0 -0
- package/bin/azureauth/api-ms-win-core-synch-l1-1-0.dll +0 -0
- package/bin/azureauth/api-ms-win-core-synch-l1-2-0.dll +0 -0
- package/bin/azureauth/api-ms-win-core-sysinfo-l1-1-0.dll +0 -0
- package/bin/azureauth/api-ms-win-core-timezone-l1-1-0.dll +0 -0
- package/bin/azureauth/api-ms-win-core-util-l1-1-0.dll +0 -0
- package/bin/azureauth/api-ms-win-crt-conio-l1-1-0.dll +0 -0
- package/bin/azureauth/api-ms-win-crt-convert-l1-1-0.dll +0 -0
- package/bin/azureauth/api-ms-win-crt-environment-l1-1-0.dll +0 -0
- package/bin/azureauth/api-ms-win-crt-filesystem-l1-1-0.dll +0 -0
- package/bin/azureauth/api-ms-win-crt-heap-l1-1-0.dll +0 -0
- package/bin/azureauth/api-ms-win-crt-locale-l1-1-0.dll +0 -0
- package/bin/azureauth/api-ms-win-crt-math-l1-1-0.dll +0 -0
- package/bin/azureauth/api-ms-win-crt-multibyte-l1-1-0.dll +0 -0
- package/bin/azureauth/api-ms-win-crt-private-l1-1-0.dll +0 -0
- package/bin/azureauth/api-ms-win-crt-process-l1-1-0.dll +0 -0
- package/bin/azureauth/api-ms-win-crt-runtime-l1-1-0.dll +0 -0
- package/bin/azureauth/api-ms-win-crt-stdio-l1-1-0.dll +0 -0
- package/bin/azureauth/api-ms-win-crt-string-l1-1-0.dll +0 -0
- package/bin/azureauth/api-ms-win-crt-time-l1-1-0.dll +0 -0
- package/bin/azureauth/api-ms-win-crt-utility-l1-1-0.dll +0 -0
- package/bin/azureauth/azureauth.deps.json +3184 -0
- package/bin/azureauth/azureauth.dll +0 -0
- package/bin/azureauth/azureauth.exe +0 -0
- package/bin/azureauth/azureauth.pdb +0 -0
- package/bin/azureauth/azureauth.runtimeconfig.json +24 -0
- package/bin/azureauth/azureauth.xml +803 -0
- package/bin/azureauth/clrcompression.dll +0 -0
- package/bin/azureauth/clretwrc.dll +0 -0
- package/bin/azureauth/clrjit.dll +0 -0
- package/bin/azureauth/coreclr.dll +0 -0
- package/bin/azureauth/createdump.exe +0 -0
- package/bin/azureauth/dbgshim.dll +0 -0
- package/bin/azureauth/e_sqlite3.dll +0 -0
- package/bin/azureauth/hostfxr.dll +0 -0
- package/bin/azureauth/hostpolicy.dll +0 -0
- package/bin/azureauth/msalruntime.dll +0 -0
- package/bin/azureauth/mscordaccore.dll +0 -0
- package/bin/azureauth/mscordaccore_amd64_amd64_6.0.1923.31806.dll +0 -0
- package/bin/azureauth/mscordbi.dll +0 -0
- package/bin/azureauth/mscorrc.dll +0 -0
- package/bin/azureauth/msquic.dll +0 -0
- package/bin/azureauth/netstandard.dll +0 -0
- package/bin/azureauth/sni.dll +0 -0
- package/bin/azureauth/ucrtbase.dll +0 -0
- package/cli.js +14 -0
- package/package.json +20 -0
- package/scripts/install.js +119 -0
|
@@ -0,0 +1,996 @@
|
|
|
1
|
+
<?xml version="1.0"?>
|
|
2
|
+
<doc>
|
|
3
|
+
<assembly>
|
|
4
|
+
<name>MSALWrapper</name>
|
|
5
|
+
</assembly>
|
|
6
|
+
<members>
|
|
7
|
+
<member name="T:Microsoft.Authentication.MSALWrapper.AuthenticationTimeoutException">
|
|
8
|
+
<summary>
|
|
9
|
+
Authentication timeout exception.
|
|
10
|
+
</summary>
|
|
11
|
+
</member>
|
|
12
|
+
<member name="M:Microsoft.Authentication.MSALWrapper.AuthenticationTimeoutException.#ctor(System.String)">
|
|
13
|
+
<summary>
|
|
14
|
+
Initializes a new instance of the <see cref="T:Microsoft.Authentication.MSALWrapper.AuthenticationTimeoutException"/> class.
|
|
15
|
+
</summary>
|
|
16
|
+
<param name="message">The message.</param>
|
|
17
|
+
</member>
|
|
18
|
+
<member name="T:Microsoft.Authentication.MSALWrapper.AuthFlow.AuthFlowBase">
|
|
19
|
+
<summary>
|
|
20
|
+
An abstract class that implements the <see cref="T:Microsoft.Authentication.MSALWrapper.AuthFlow.IAuthFlow"/> interface
|
|
21
|
+
and enforces consistent behavior for naming AuthFlows.
|
|
22
|
+
</summary>
|
|
23
|
+
</member>
|
|
24
|
+
<member name="F:Microsoft.Authentication.MSALWrapper.AuthFlow.AuthFlowBase.errors">
|
|
25
|
+
<summary>The errors encountered during token acquisition.</summary>
|
|
26
|
+
</member>
|
|
27
|
+
<member name="F:Microsoft.Authentication.MSALWrapper.AuthFlow.AuthFlowBase.logger">
|
|
28
|
+
<summary>A <see cref="T:Microsoft.Extensions.Logging.ILogger"/> to use for logging.</summary>
|
|
29
|
+
</member>
|
|
30
|
+
<member name="P:Microsoft.Authentication.MSALWrapper.AuthFlow.AuthFlowBase.Name">
|
|
31
|
+
<summary>
|
|
32
|
+
Gets the name of this AuthFlow.
|
|
33
|
+
</summary>
|
|
34
|
+
<returns>The <see cref="T:System.String"/> representation of the authflow name.</returns>
|
|
35
|
+
</member>
|
|
36
|
+
<member name="M:Microsoft.Authentication.MSALWrapper.AuthFlow.AuthFlowBase.GetTokenAsync">
|
|
37
|
+
<inheritdoc/>
|
|
38
|
+
</member>
|
|
39
|
+
<member name="M:Microsoft.Authentication.MSALWrapper.AuthFlow.AuthFlowBase.GetTokenInnerAsync">
|
|
40
|
+
<summary>
|
|
41
|
+
The inner method required to be implemented by an AuthFlow.
|
|
42
|
+
Performs token acquisition.
|
|
43
|
+
</summary>
|
|
44
|
+
<returns>a tuple of <see cref="T:Microsoft.Authentication.MSALWrapper.TokenResult"/> and <see cref="T:System.Collections.Generic.IList`1"/>.</returns>
|
|
45
|
+
</member>
|
|
46
|
+
<member name="T:Microsoft.Authentication.MSALWrapper.AuthFlow.AuthFlowExecutor">
|
|
47
|
+
<summary>
|
|
48
|
+
The auth flows class.
|
|
49
|
+
</summary>
|
|
50
|
+
</member>
|
|
51
|
+
<member name="F:Microsoft.Authentication.MSALWrapper.AuthFlow.AuthFlowExecutor.WarningDelay">
|
|
52
|
+
<summary>
|
|
53
|
+
The amount of time to wait before we start warning on stderr about waiting for auth.
|
|
54
|
+
</summary>
|
|
55
|
+
</member>
|
|
56
|
+
<member name="M:Microsoft.Authentication.MSALWrapper.AuthFlow.AuthFlowExecutor.#ctor(Microsoft.Extensions.Logging.ILogger,System.Collections.Generic.IEnumerable{Microsoft.Authentication.MSALWrapper.AuthFlow.IAuthFlow},Microsoft.Authentication.MSALWrapper.IStopwatch)">
|
|
57
|
+
<summary>
|
|
58
|
+
Initializes a new instance of the <see cref="T:Microsoft.Authentication.MSALWrapper.AuthFlow.AuthFlowExecutor"/> class.
|
|
59
|
+
</summary>
|
|
60
|
+
<param name="logger">The logger.</param>
|
|
61
|
+
<param name="authFlows">The list of auth flows.</param>
|
|
62
|
+
<param name="stopwatch">The stopwatch to handle timeout.</param>
|
|
63
|
+
</member>
|
|
64
|
+
<member name="M:Microsoft.Authentication.MSALWrapper.AuthFlow.AuthFlowExecutor.GetTokenAsync">
|
|
65
|
+
<summary>
|
|
66
|
+
Get a auth flow result.
|
|
67
|
+
</summary>
|
|
68
|
+
<returns>The <see cref="T:System.Threading.Tasks.Task"/>.</returns>
|
|
69
|
+
</member>
|
|
70
|
+
<member name="M:Microsoft.Authentication.MSALWrapper.AuthFlow.AuthFlowExecutor.GetTokenAndPollAsync(Microsoft.Authentication.MSALWrapper.AuthFlow.IAuthFlow)">
|
|
71
|
+
<summary>
|
|
72
|
+
Run the auth mode in a separate task and
|
|
73
|
+
poll to see if we hit global timeout before the auth flow completes.
|
|
74
|
+
</summary>
|
|
75
|
+
<param name="authFlow">Auth Flow that we are executing.</param>
|
|
76
|
+
<returns>AuthFlowResult containing Error if CLI times out; else actual result of the AuthFlow.</returns>
|
|
77
|
+
</member>
|
|
78
|
+
<member name="M:Microsoft.Authentication.MSALWrapper.AuthFlow.AuthFlowExecutor.Delay">
|
|
79
|
+
<summary>
|
|
80
|
+
Helps in determining right polling interval which can be different from the default
|
|
81
|
+
at the beginning of timer and at the end of timeout period.
|
|
82
|
+
</summary>
|
|
83
|
+
<returns>Time to wait before polling.</returns>
|
|
84
|
+
</member>
|
|
85
|
+
<member name="T:Microsoft.Authentication.MSALWrapper.AuthFlow.AuthFlowFactory">
|
|
86
|
+
<summary>
|
|
87
|
+
A static class for creating an enumeration of auth flows given settings.
|
|
88
|
+
</summary>
|
|
89
|
+
</member>
|
|
90
|
+
<member name="M:Microsoft.Authentication.MSALWrapper.AuthFlow.AuthFlowFactory.Create(Microsoft.Extensions.Logging.ILogger,Microsoft.Authentication.MSALWrapper.AuthParameters,Microsoft.Authentication.MSALWrapper.AuthMode,System.String,System.String,Microsoft.Authentication.MSALWrapper.IPCAWrapper,Microsoft.Authentication.MSALWrapper.IPlatformUtils)">
|
|
91
|
+
<summary>
|
|
92
|
+
Create a list of <see cref="T:Microsoft.Authentication.MSALWrapper.AuthFlow.IAuthFlow"/> instances based on the given settings.
|
|
93
|
+
</summary>
|
|
94
|
+
<param name="logger">An <see cref="T:Microsoft.Extensions.Logging.ILogger"/>.</param>
|
|
95
|
+
<param name="authParams">The <see cref="T:Microsoft.Authentication.MSALWrapper.AuthParameters"/>.</param>
|
|
96
|
+
<param name="authMode">The desired <see cref="T:Microsoft.Authentication.MSALWrapper.AuthMode"/>.</param>
|
|
97
|
+
<param name="preferredDomain">Preferred domain to use when filtering cached accounts.</param>
|
|
98
|
+
<param name="promptHint">A prompt hint to contextualize an auth prompt if given.</param>
|
|
99
|
+
<param name="pcaWrapper">An optional injected <see cref="T:Microsoft.Authentication.MSALWrapper.IPCAWrapper"/> to use.</param>
|
|
100
|
+
<param name="platformUtils">An optional injected <see cref="T:Microsoft.Authentication.MSALWrapper.IPlatformUtils"/> to use.</param>
|
|
101
|
+
<returns>An <see cref="T:System.Collections.Generic.IEnumerable`1"/> of <see cref="T:Microsoft.Authentication.MSALWrapper.AuthFlow.IAuthFlow"/> instances.</returns>
|
|
102
|
+
</member>
|
|
103
|
+
<member name="T:Microsoft.Authentication.MSALWrapper.AuthFlow.Broker">
|
|
104
|
+
<summary>
|
|
105
|
+
The broker auth flow.
|
|
106
|
+
</summary>
|
|
107
|
+
</member>
|
|
108
|
+
<member name="F:Microsoft.Authentication.MSALWrapper.AuthFlow.Broker.interactiveAuthTimeout">
|
|
109
|
+
<summary>
|
|
110
|
+
The interactive auth timeout.
|
|
111
|
+
</summary>
|
|
112
|
+
</member>
|
|
113
|
+
<member name="M:Microsoft.Authentication.MSALWrapper.AuthFlow.Broker.#ctor(Microsoft.Extensions.Logging.ILogger,Microsoft.Authentication.MSALWrapper.AuthParameters,System.String,Microsoft.Authentication.MSALWrapper.IPCAWrapper,System.String)">
|
|
114
|
+
<summary>
|
|
115
|
+
Initializes a new instance of the <see cref="T:Microsoft.Authentication.MSALWrapper.AuthFlow.Broker"/> class.
|
|
116
|
+
</summary>
|
|
117
|
+
<param name="logger">The logger.</param>
|
|
118
|
+
<param name="authParameters">The authentication paramaters.</param>
|
|
119
|
+
<param name="preferredDomain">The preferred domain.</param>
|
|
120
|
+
<param name="pcaWrapper">Optional: IPCAWrapper to use.</param>
|
|
121
|
+
<param name="promptHint">The customized header text in account picker for WAM prompts.</param>
|
|
122
|
+
</member>
|
|
123
|
+
<member name="F:Microsoft.Authentication.MSALWrapper.AuthFlow.Broker.GetAncestorType.GetParent">
|
|
124
|
+
<summary>
|
|
125
|
+
Retrieves the parent window. This does not include the owner, as it does with the GetParent function.
|
|
126
|
+
</summary>
|
|
127
|
+
</member>
|
|
128
|
+
<member name="F:Microsoft.Authentication.MSALWrapper.AuthFlow.Broker.GetAncestorType.GetRoot">
|
|
129
|
+
<summary>
|
|
130
|
+
Retrieves the root window by walking the chain of parent windows.
|
|
131
|
+
</summary>
|
|
132
|
+
</member>
|
|
133
|
+
<member name="F:Microsoft.Authentication.MSALWrapper.AuthFlow.Broker.GetAncestorType.GetRootOwner">
|
|
134
|
+
<summary>
|
|
135
|
+
Retrieves the owned root window by walking the chain of parent and owner windows returned by GetParent.
|
|
136
|
+
</summary>
|
|
137
|
+
</member>
|
|
138
|
+
<member name="P:Microsoft.Authentication.MSALWrapper.AuthFlow.Broker.Name">
|
|
139
|
+
<inheritdoc/>
|
|
140
|
+
</member>
|
|
141
|
+
<member name="M:Microsoft.Authentication.MSALWrapper.AuthFlow.Broker.GetTokenInnerAsync">
|
|
142
|
+
<inheritdoc/>
|
|
143
|
+
</member>
|
|
144
|
+
<member name="M:Microsoft.Authentication.MSALWrapper.AuthFlow.Broker.GetAncestor(System.IntPtr,Microsoft.Authentication.MSALWrapper.AuthFlow.Broker.GetAncestorType)">
|
|
145
|
+
<summary>
|
|
146
|
+
Retrieves the handle to the ancestor of the specified window.
|
|
147
|
+
</summary>
|
|
148
|
+
<param name="windowsHandle">A handle to the window whose ancestor is to be retrieved.
|
|
149
|
+
If this parameter is the desktop window, the function returns NULL. </param>
|
|
150
|
+
<param name="flags">The ancestor to be retrieved.</param>
|
|
151
|
+
<returns>The return value is the handle to the ancestor window.</returns>[DllImport("user32.dll", ExactSpelling = true)]
|
|
152
|
+
</member>
|
|
153
|
+
<member name="T:Microsoft.Authentication.MSALWrapper.AuthFlow.CachedAuth">
|
|
154
|
+
<summary>
|
|
155
|
+
This class provides an abstraction over how to use the MSAL Cached Auth (known as GetTokenSilent).
|
|
156
|
+
</summary>
|
|
157
|
+
</member>
|
|
158
|
+
<member name="M:Microsoft.Authentication.MSALWrapper.AuthFlow.CachedAuth.#ctor(Microsoft.Extensions.Logging.ILogger,Microsoft.Authentication.MSALWrapper.AuthParameters,System.String,Microsoft.Authentication.MSALWrapper.IPCAWrapper)">
|
|
159
|
+
<summary>
|
|
160
|
+
Initializes a new instance of the <see cref="T:Microsoft.Authentication.MSALWrapper.AuthFlow.CachedAuth"/> class.
|
|
161
|
+
</summary>
|
|
162
|
+
<param name="logger">The logger.</param>
|
|
163
|
+
<param name="authParameters">The authentication paramaters.</param>
|
|
164
|
+
<param name="preferredDomain">The preferred domain.</param>
|
|
165
|
+
<param name="pcaWrapper">Optional: IPCAWrapper to use.</param>
|
|
166
|
+
</member>
|
|
167
|
+
<member name="P:Microsoft.Authentication.MSALWrapper.AuthFlow.CachedAuth.Name">
|
|
168
|
+
<inheritdoc/>
|
|
169
|
+
</member>
|
|
170
|
+
<member name="M:Microsoft.Authentication.MSALWrapper.AuthFlow.CachedAuth.GetTokenAsync(Microsoft.Extensions.Logging.ILogger,System.Collections.Generic.IEnumerable{System.String},Microsoft.Identity.Client.IAccount,Microsoft.Authentication.MSALWrapper.IPCAWrapper,System.Collections.Generic.IList{System.Exception})">
|
|
171
|
+
<summary>
|
|
172
|
+
Try to get a token silently.
|
|
173
|
+
</summary>
|
|
174
|
+
<param name="logger">An <see cref="T:Microsoft.Extensions.Logging.ILogger"/>.</param>
|
|
175
|
+
<param name="scopes">Auth Scopes.</param>
|
|
176
|
+
<param name="account"><see cref="T:Microsoft.Identity.Client.IAccount"/> object to use or null if no account has been found.</param>
|
|
177
|
+
<param name="pcaWrapper">An <see cref="T:Microsoft.Authentication.MSALWrapper.IPCAWrapper"/>.</param>
|
|
178
|
+
<param name="errors">List of errors to report any Exceptions into.</param>
|
|
179
|
+
<returns>A <see cref="T:System.Threading.Tasks.Task`1"/> or null if no cached token was acquired.</returns>
|
|
180
|
+
</member>
|
|
181
|
+
<member name="M:Microsoft.Authentication.MSALWrapper.AuthFlow.CachedAuth.GetTokenInnerAsync">
|
|
182
|
+
<inheritdoc/>
|
|
183
|
+
</member>
|
|
184
|
+
<member name="T:Microsoft.Authentication.MSALWrapper.AuthFlow.DeviceCode">
|
|
185
|
+
<summary>
|
|
186
|
+
The device code auth flow.
|
|
187
|
+
</summary>
|
|
188
|
+
</member>
|
|
189
|
+
<member name="F:Microsoft.Authentication.MSALWrapper.AuthFlow.DeviceCode.deviceCodeFlowTimeout">
|
|
190
|
+
<summary>
|
|
191
|
+
The device code flow timeout.
|
|
192
|
+
</summary>
|
|
193
|
+
</member>
|
|
194
|
+
<member name="M:Microsoft.Authentication.MSALWrapper.AuthFlow.DeviceCode.#ctor(Microsoft.Extensions.Logging.ILogger,Microsoft.Authentication.MSALWrapper.AuthParameters,System.String,Microsoft.Authentication.MSALWrapper.IPCAWrapper,System.String)">
|
|
195
|
+
<summary>
|
|
196
|
+
Initializes a new instance of the <see cref="T:Microsoft.Authentication.MSALWrapper.AuthFlow.DeviceCode"/> class.
|
|
197
|
+
</summary>
|
|
198
|
+
<param name="logger">The logger.</param>
|
|
199
|
+
<param name="authParameters">The authentication paramaters.</param>
|
|
200
|
+
<param name="preferredDomain">The preferred domain.</param>
|
|
201
|
+
<param name="pcaWrapper">Optional: IPCAWrapper to use.</param>
|
|
202
|
+
<param name="promptHint">The customized header text in account picker for WAM prompts.</param>
|
|
203
|
+
</member>
|
|
204
|
+
<member name="P:Microsoft.Authentication.MSALWrapper.AuthFlow.DeviceCode.Name">
|
|
205
|
+
<inheritdoc/>
|
|
206
|
+
</member>
|
|
207
|
+
<member name="M:Microsoft.Authentication.MSALWrapper.AuthFlow.DeviceCode.GetTokenInnerAsync">
|
|
208
|
+
<inheritdoc/>
|
|
209
|
+
</member>
|
|
210
|
+
<member name="T:Microsoft.Authentication.MSALWrapper.AuthFlow.IAuthFlow">
|
|
211
|
+
<summary>
|
|
212
|
+
The IAuthFlow interface.
|
|
213
|
+
</summary>
|
|
214
|
+
</member>
|
|
215
|
+
<member name="M:Microsoft.Authentication.MSALWrapper.AuthFlow.IAuthFlow.GetTokenAsync">
|
|
216
|
+
<summary>
|
|
217
|
+
Get a token for a resource.
|
|
218
|
+
</summary>
|
|
219
|
+
<returns>A <see cref="T:System.Threading.Tasks.Task"/> of <see cref="T:Microsoft.Authentication.MSALWrapper.TokenResult"/>.</returns>
|
|
220
|
+
</member>
|
|
221
|
+
<member name="T:Microsoft.Authentication.MSALWrapper.AuthFlow.IntegratedWindowsAuthentication">
|
|
222
|
+
<summary>
|
|
223
|
+
The broker auth flow.
|
|
224
|
+
</summary>
|
|
225
|
+
</member>
|
|
226
|
+
<member name="F:Microsoft.Authentication.MSALWrapper.AuthFlow.IntegratedWindowsAuthentication.integratedWindowsAuthTimeout">
|
|
227
|
+
<summary>
|
|
228
|
+
The integrated windows auth flow timeout.
|
|
229
|
+
</summary>
|
|
230
|
+
</member>
|
|
231
|
+
<member name="M:Microsoft.Authentication.MSALWrapper.AuthFlow.IntegratedWindowsAuthentication.#ctor(Microsoft.Extensions.Logging.ILogger,Microsoft.Authentication.MSALWrapper.AuthParameters,System.String,Microsoft.Authentication.MSALWrapper.IPCAWrapper)">
|
|
232
|
+
<summary>
|
|
233
|
+
Initializes a new instance of the <see cref="T:Microsoft.Authentication.MSALWrapper.AuthFlow.IntegratedWindowsAuthentication"/> class.
|
|
234
|
+
</summary>
|
|
235
|
+
<param name="logger">The logger.</param>
|
|
236
|
+
/// <param name="authParameters">The authentication paramaters.</param>
|
|
237
|
+
<param name="preferredDomain">The preferred domain.</param>
|
|
238
|
+
<param name="pcaWrapper">Optional: IPCAWrapper to use.</param>
|
|
239
|
+
</member>
|
|
240
|
+
<member name="P:Microsoft.Authentication.MSALWrapper.AuthFlow.IntegratedWindowsAuthentication.Name">
|
|
241
|
+
<inheritdoc/>
|
|
242
|
+
</member>
|
|
243
|
+
<member name="M:Microsoft.Authentication.MSALWrapper.AuthFlow.IntegratedWindowsAuthentication.GetTokenInnerAsync">
|
|
244
|
+
<inheritdoc/>
|
|
245
|
+
</member>
|
|
246
|
+
<member name="T:Microsoft.Authentication.MSALWrapper.AuthFlow.NullTokenResultException">
|
|
247
|
+
<summary>
|
|
248
|
+
The null token result exception, which should be thrown when an <see cref="T:Microsoft.Authentication.MSALWrapper.AuthFlow.IAuthFlow"/> returns a null <see cref="T:Microsoft.Authentication.MSALWrapper.TokenResult"/>.
|
|
249
|
+
</summary>
|
|
250
|
+
</member>
|
|
251
|
+
<member name="M:Microsoft.Authentication.MSALWrapper.AuthFlow.NullTokenResultException.#ctor(System.String)">
|
|
252
|
+
<summary>
|
|
253
|
+
Initializes a new instance of the <see cref="T:Microsoft.Authentication.MSALWrapper.AuthFlow.NullTokenResultException"/> class.
|
|
254
|
+
</summary>
|
|
255
|
+
<param name="message">
|
|
256
|
+
The message.
|
|
257
|
+
</param>
|
|
258
|
+
</member>
|
|
259
|
+
<member name="T:Microsoft.Authentication.MSALWrapper.AuthFlow.Web">
|
|
260
|
+
<summary>
|
|
261
|
+
The web auth flow.
|
|
262
|
+
</summary>
|
|
263
|
+
</member>
|
|
264
|
+
<member name="F:Microsoft.Authentication.MSALWrapper.AuthFlow.Web.interactiveAuthTimeout">
|
|
265
|
+
<summary>
|
|
266
|
+
The interactive auth timeout.
|
|
267
|
+
</summary>
|
|
268
|
+
</member>
|
|
269
|
+
<member name="M:Microsoft.Authentication.MSALWrapper.AuthFlow.Web.#ctor(Microsoft.Extensions.Logging.ILogger,Microsoft.Authentication.MSALWrapper.AuthParameters,System.String,Microsoft.Authentication.MSALWrapper.IPCAWrapper,System.String)">
|
|
270
|
+
<summary>
|
|
271
|
+
Initializes a new instance of the <see cref="T:Microsoft.Authentication.MSALWrapper.AuthFlow.Web"/> class.
|
|
272
|
+
</summary>
|
|
273
|
+
<param name="logger">The logger.</param>
|
|
274
|
+
/// <param name="authParameters">The authentication paramaters.</param>
|
|
275
|
+
<param name="preferredDomain">The preferred domain.</param>
|
|
276
|
+
<param name="pcaWrapper">Optional: IPCAWrapper to use.</param>
|
|
277
|
+
<param name="promptHint">The customized header text in account picker for WAM prompts.</param>
|
|
278
|
+
</member>
|
|
279
|
+
<member name="P:Microsoft.Authentication.MSALWrapper.AuthFlow.Web.Name">
|
|
280
|
+
<inheritdoc/>
|
|
281
|
+
</member>
|
|
282
|
+
<member name="M:Microsoft.Authentication.MSALWrapper.AuthFlow.Web.GetTokenInnerAsync">
|
|
283
|
+
<inheritdoc/>
|
|
284
|
+
</member>
|
|
285
|
+
<member name="T:Microsoft.Authentication.MSALWrapper.AuthFlow.MsalHttpClientFactoryAdaptor">
|
|
286
|
+
<summary>
|
|
287
|
+
The msal http client factory adaptor.
|
|
288
|
+
</summary>
|
|
289
|
+
</member>
|
|
290
|
+
<member name="M:Microsoft.Authentication.MSALWrapper.AuthFlow.MsalHttpClientFactoryAdaptor.#ctor">
|
|
291
|
+
<summary>
|
|
292
|
+
Initializes a new instance of the <see cref="T:Microsoft.Authentication.MSALWrapper.AuthFlow.MsalHttpClientFactoryAdaptor"/> class.
|
|
293
|
+
Creates an instance of msal http client factory adaptor.
|
|
294
|
+
</summary>
|
|
295
|
+
</member>
|
|
296
|
+
<member name="M:Microsoft.Authentication.MSALWrapper.AuthFlow.MsalHttpClientFactoryAdaptor.GetHttpClient">
|
|
297
|
+
<inheritdoc/>
|
|
298
|
+
</member>
|
|
299
|
+
<member name="M:Microsoft.Authentication.MSALWrapper.AuthFlow.MsalHttpClientFactoryAdaptor.CreateHttpClient">
|
|
300
|
+
<summary>
|
|
301
|
+
Create a new http client.
|
|
302
|
+
</summary>
|
|
303
|
+
<returns>An instance of <see cref="T:System.Net.Http.HttpClient"/>.</returns>
|
|
304
|
+
</member>
|
|
305
|
+
<member name="M:Microsoft.Authentication.MSALWrapper.AuthFlow.MsalHttpClientFactoryAdaptor.NewClient">
|
|
306
|
+
<summary>
|
|
307
|
+
Create a new Client.
|
|
308
|
+
</summary>
|
|
309
|
+
<returns>An instance of <see cref="T:System.Net.Http.HttpClient"/>.</returns>
|
|
310
|
+
</member>
|
|
311
|
+
<member name="T:Microsoft.Authentication.MSALWrapper.AuthFlow.TaskExecutor">
|
|
312
|
+
<summary>
|
|
313
|
+
The task executor class.
|
|
314
|
+
</summary>
|
|
315
|
+
</member>
|
|
316
|
+
<member name="M:Microsoft.Authentication.MSALWrapper.AuthFlow.TaskExecutor.CompleteWithin``1(Microsoft.Extensions.Logging.ILogger,System.TimeSpan,System.String,System.Func{System.Threading.CancellationToken,System.Threading.Tasks.Task{``0}},System.Collections.Generic.IList{System.Exception})">
|
|
317
|
+
<summary>
|
|
318
|
+
Completes a task within the timeout period.
|
|
319
|
+
</summary>
|
|
320
|
+
<typeparam name="T">The type.</typeparam>
|
|
321
|
+
<param name="logger">The logger.</param>
|
|
322
|
+
<param name="timeout">The timeout.</param>
|
|
323
|
+
<param name="taskName">The task name.</param>
|
|
324
|
+
<param name="getTask">A function that return the task you want to complete within the given timeout.</param>
|
|
325
|
+
<param name="errorsList">The errors list.</param>
|
|
326
|
+
<returns>The <see cref="T:System.Threading.Tasks.Task"/>.</returns>
|
|
327
|
+
</member>
|
|
328
|
+
<member name="T:Microsoft.Authentication.MSALWrapper.AuthFlow.TokenResultExtensions">
|
|
329
|
+
<summary>
|
|
330
|
+
Extension method to the <see cref="T:Microsoft.Authentication.MSALWrapper.TokenResult"/> class.
|
|
331
|
+
</summary>
|
|
332
|
+
</member>
|
|
333
|
+
<member name="M:Microsoft.Authentication.MSALWrapper.AuthFlow.TokenResultExtensions.SetSilent(Microsoft.Authentication.MSALWrapper.TokenResult)">
|
|
334
|
+
<summary>
|
|
335
|
+
Sets the Silent property to true if the token result is not null.
|
|
336
|
+
</summary>
|
|
337
|
+
<param name="result">The result.</param>
|
|
338
|
+
</member>
|
|
339
|
+
<member name="T:Microsoft.Authentication.MSALWrapper.AuthFlowResult">
|
|
340
|
+
<summary>
|
|
341
|
+
The Auth Flow result.
|
|
342
|
+
</summary>
|
|
343
|
+
</member>
|
|
344
|
+
<member name="M:Microsoft.Authentication.MSALWrapper.AuthFlowResult.#ctor(Microsoft.Authentication.MSALWrapper.TokenResult,System.Collections.Generic.IList{System.Exception},System.String)">
|
|
345
|
+
<summary>
|
|
346
|
+
Initializes a new instance of the <see cref="T:Microsoft.Authentication.MSALWrapper.AuthFlowResult"/> class.
|
|
347
|
+
</summary>
|
|
348
|
+
<param name="tokenResult">A <see cref="T:Microsoft.Authentication.MSALWrapper.TokenResult"/>.</param>
|
|
349
|
+
<param name="errors">A list of errors encountered while getting (or failing to get) the given token result. Will initialize a new empty List if null is given.</param>
|
|
350
|
+
<param name="authFlowName">The name of the authflow from which the AuthFlowResult is returned or cretaed.</param>
|
|
351
|
+
</member>
|
|
352
|
+
<member name="P:Microsoft.Authentication.MSALWrapper.AuthFlowResult.TokenResult">
|
|
353
|
+
<summary>
|
|
354
|
+
Gets a token result.
|
|
355
|
+
</summary>
|
|
356
|
+
</member>
|
|
357
|
+
<member name="P:Microsoft.Authentication.MSALWrapper.AuthFlowResult.Errors">
|
|
358
|
+
<summary>
|
|
359
|
+
Gets a list of errors.
|
|
360
|
+
</summary>
|
|
361
|
+
</member>
|
|
362
|
+
<member name="P:Microsoft.Authentication.MSALWrapper.AuthFlowResult.AuthFlowName">
|
|
363
|
+
<summary>
|
|
364
|
+
Gets the AuthFlowName.
|
|
365
|
+
</summary>
|
|
366
|
+
</member>
|
|
367
|
+
<member name="P:Microsoft.Authentication.MSALWrapper.AuthFlowResult.Duration">
|
|
368
|
+
<summary>
|
|
369
|
+
Gets or Sets the Duration in milli seconds.
|
|
370
|
+
</summary>
|
|
371
|
+
</member>
|
|
372
|
+
<member name="P:Microsoft.Authentication.MSALWrapper.AuthFlowResult.Success">
|
|
373
|
+
<summary>
|
|
374
|
+
Gets a value indicating whether the TokenResult represents a non-null <see cref="T:Microsoft.Authentication.MSALWrapper.TokenResult"/>.
|
|
375
|
+
</summary>
|
|
376
|
+
</member>
|
|
377
|
+
<member name="M:Microsoft.Authentication.MSALWrapper.AuthFlowResult.AddErrors(System.Collections.Generic.IEnumerable{System.Exception})">
|
|
378
|
+
<summary>
|
|
379
|
+
Add the given errors to the <see cref="P:Microsoft.Authentication.MSALWrapper.AuthFlowResult.Errors"/> list.
|
|
380
|
+
</summary>
|
|
381
|
+
<param name="errors">The errors to add.</param>
|
|
382
|
+
</member>
|
|
383
|
+
<member name="T:Microsoft.Authentication.MSALWrapper.AuthMode">
|
|
384
|
+
<summary>
|
|
385
|
+
Auth modes.
|
|
386
|
+
</summary>
|
|
387
|
+
</member>
|
|
388
|
+
<member name="F:Microsoft.Authentication.MSALWrapper.AuthMode.None">
|
|
389
|
+
<summary>
|
|
390
|
+
No auth modes are enabled.
|
|
391
|
+
</summary>
|
|
392
|
+
</member>
|
|
393
|
+
<member name="F:Microsoft.Authentication.MSALWrapper.AuthMode.Web">
|
|
394
|
+
<summary>
|
|
395
|
+
Web auth mode (Embedded Web View for Windows and System Web Browser for OSX).
|
|
396
|
+
</summary>
|
|
397
|
+
</member>
|
|
398
|
+
<member name="F:Microsoft.Authentication.MSALWrapper.AuthMode.DeviceCode">
|
|
399
|
+
<summary>
|
|
400
|
+
Device code flow auth mode.
|
|
401
|
+
</summary>
|
|
402
|
+
</member>
|
|
403
|
+
<member name="F:Microsoft.Authentication.MSALWrapper.AuthMode.Broker">
|
|
404
|
+
<summary>
|
|
405
|
+
Broker auth mode(WAM - Web account Manager).
|
|
406
|
+
</summary>
|
|
407
|
+
</member>
|
|
408
|
+
<member name="F:Microsoft.Authentication.MSALWrapper.AuthMode.IWA">
|
|
409
|
+
<summary>
|
|
410
|
+
Integrated Windows auth mode.
|
|
411
|
+
</summary>
|
|
412
|
+
</member>
|
|
413
|
+
<member name="F:Microsoft.Authentication.MSALWrapper.AuthMode.All">
|
|
414
|
+
<summary>
|
|
415
|
+
All auth modes.
|
|
416
|
+
</summary>
|
|
417
|
+
</member>
|
|
418
|
+
<member name="F:Microsoft.Authentication.MSALWrapper.AuthMode.Default">
|
|
419
|
+
<summary>
|
|
420
|
+
Default auth mode.
|
|
421
|
+
</summary>
|
|
422
|
+
</member>
|
|
423
|
+
<member name="T:Microsoft.Authentication.MSALWrapper.AuthModeExtensions">
|
|
424
|
+
<summary>
|
|
425
|
+
Auth mode extensions.
|
|
426
|
+
</summary>
|
|
427
|
+
</member>
|
|
428
|
+
<member name="M:Microsoft.Authentication.MSALWrapper.AuthModeExtensions.IsBroker(Microsoft.Authentication.MSALWrapper.AuthMode)">
|
|
429
|
+
<summary>
|
|
430
|
+
Checks if authMode is broker.
|
|
431
|
+
</summary>
|
|
432
|
+
<param name="authMode">The auth mode.</param>
|
|
433
|
+
<returns>The <see cref="T:System.Boolean"/>.</returns>
|
|
434
|
+
</member>
|
|
435
|
+
<member name="M:Microsoft.Authentication.MSALWrapper.AuthModeExtensions.IsWeb(Microsoft.Authentication.MSALWrapper.AuthMode)">
|
|
436
|
+
<summary>
|
|
437
|
+
Checks if authMode is web.
|
|
438
|
+
</summary>
|
|
439
|
+
<param name="authMode">The auth mode.</param>
|
|
440
|
+
<returns>The <see cref="T:System.Boolean"/>.</returns>
|
|
441
|
+
</member>
|
|
442
|
+
<member name="M:Microsoft.Authentication.MSALWrapper.AuthModeExtensions.IsDeviceCode(Microsoft.Authentication.MSALWrapper.AuthMode)">
|
|
443
|
+
<summary>
|
|
444
|
+
Checks if authMode is device code.
|
|
445
|
+
</summary>
|
|
446
|
+
<param name="authMode">The auth mode.</param>
|
|
447
|
+
<returns>The <see cref="T:System.Boolean"/>.</returns>
|
|
448
|
+
</member>
|
|
449
|
+
<member name="M:Microsoft.Authentication.MSALWrapper.AuthModeExtensions.IsIWA(Microsoft.Authentication.MSALWrapper.AuthMode)">
|
|
450
|
+
<summary>
|
|
451
|
+
Checks if authMode is IWA Enabled.
|
|
452
|
+
</summary>
|
|
453
|
+
<param name="authMode">The <see cref="T:Microsoft.Authentication.MSALWrapper.AuthMode"/>.</param>
|
|
454
|
+
<returns>true or false.</returns>
|
|
455
|
+
</member>
|
|
456
|
+
<member name="M:Microsoft.Authentication.MSALWrapper.AuthModeExtensions.Combine(System.Collections.Generic.IEnumerable{Microsoft.Authentication.MSALWrapper.AuthMode})">
|
|
457
|
+
<summary>
|
|
458
|
+
Combine multiple AuthModes into a single AuthMode.
|
|
459
|
+
This does not lose any information because <see cref="T:Microsoft.Authentication.MSALWrapper.AuthMode"/> is a bit flag.
|
|
460
|
+
</summary>
|
|
461
|
+
<param name="authModes">AuthModes to combine.</param>
|
|
462
|
+
<returns>A single <see cref="T:Microsoft.Authentication.MSALWrapper.AuthMode"/> computed by applying bit-wise OR to the auth modes given.</returns>
|
|
463
|
+
</member>
|
|
464
|
+
<member name="T:Microsoft.Authentication.MSALWrapper.AuthParameters">
|
|
465
|
+
<summary>
|
|
466
|
+
Core authentication parameters needed
|
|
467
|
+
</summary>
|
|
468
|
+
</member>
|
|
469
|
+
<member name="P:Microsoft.Authentication.MSALWrapper.AuthParameters.Client">
|
|
470
|
+
<summary>Gets the Client Id.</summary>
|
|
471
|
+
</member>
|
|
472
|
+
<member name="P:Microsoft.Authentication.MSALWrapper.AuthParameters.Tenant">
|
|
473
|
+
<summary>Gets the Tenant Id.</summary>
|
|
474
|
+
</member>
|
|
475
|
+
<member name="P:Microsoft.Authentication.MSALWrapper.AuthParameters.Scopes">
|
|
476
|
+
<summary>Gets the Scopes.</summary>
|
|
477
|
+
</member>
|
|
478
|
+
<member name="M:Microsoft.Authentication.MSALWrapper.AuthParameters.#ctor(System.String,System.String,System.Collections.Generic.IEnumerable{System.String})">
|
|
479
|
+
<summary>
|
|
480
|
+
Initializes a new instance of the <see cref="T:Microsoft.Authentication.MSALWrapper.AuthParameters"/> class.
|
|
481
|
+
</summary>
|
|
482
|
+
<param name="client">Client Id.</param>
|
|
483
|
+
<param name="tenant">Tenant Id.</param>
|
|
484
|
+
<param name="scopes">Scopes.</param>
|
|
485
|
+
</member>
|
|
486
|
+
<member name="M:Microsoft.Authentication.MSALWrapper.AuthParameters.#ctor(System.Guid,System.Guid,System.Collections.Generic.IEnumerable{System.String})">
|
|
487
|
+
<summary>
|
|
488
|
+
Initializes a new instance of the <see cref="T:Microsoft.Authentication.MSALWrapper.AuthParameters"/> class.
|
|
489
|
+
</summary>
|
|
490
|
+
<param name="client">Client Id.</param>
|
|
491
|
+
<param name="tenant">Tenant Id.</param>
|
|
492
|
+
<param name="scopes">Scopes.</param>
|
|
493
|
+
</member>
|
|
494
|
+
<member name="T:Microsoft.Authentication.MSALWrapper.Constants">
|
|
495
|
+
<summary>
|
|
496
|
+
The constants.
|
|
497
|
+
</summary>
|
|
498
|
+
</member>
|
|
499
|
+
<member name="F:Microsoft.Authentication.MSALWrapper.Constants.AadOAuthRedirectUri">
|
|
500
|
+
<summary>
|
|
501
|
+
The aad oauth redirect uri.
|
|
502
|
+
</summary>
|
|
503
|
+
</member>
|
|
504
|
+
<member name="F:Microsoft.Authentication.MSALWrapper.Constants.AadRedirectUri">
|
|
505
|
+
<summary>
|
|
506
|
+
The aad redirect uri.
|
|
507
|
+
</summary>
|
|
508
|
+
</member>
|
|
509
|
+
<member name="F:Microsoft.Authentication.MSALWrapper.Constants.OEAUTH_MSAL_DISABLE_CACHE">
|
|
510
|
+
<summary>
|
|
511
|
+
The name of an environment variable used to disable file cache configuration.
|
|
512
|
+
</summary>
|
|
513
|
+
</member>
|
|
514
|
+
<member name="T:Microsoft.Authentication.MSALWrapper.ExceptionExtensions">
|
|
515
|
+
<summary>
|
|
516
|
+
Exceptions extensions.
|
|
517
|
+
</summary>
|
|
518
|
+
</member>
|
|
519
|
+
<member name="M:Microsoft.Authentication.MSALWrapper.ExceptionExtensions.ToFormattedString(System.Exception)">
|
|
520
|
+
<summary>
|
|
521
|
+
Convert exception to formatted string.
|
|
522
|
+
</summary>
|
|
523
|
+
<param name="exception">The exception.</param>
|
|
524
|
+
<returns>The <see cref="T:System.String"/>.</returns>
|
|
525
|
+
<exception cref="T:System.ArgumentNullException">.</exception>
|
|
526
|
+
</member>
|
|
527
|
+
<member name="M:Microsoft.Authentication.MSALWrapper.ExceptionExtensions.GetAllExceptions(System.Exception)">
|
|
528
|
+
<summary>
|
|
529
|
+
Extracts all inner exceptions.
|
|
530
|
+
</summary>
|
|
531
|
+
<param name="exception">The exception.</param>
|
|
532
|
+
<returns>The <see cref="T:System.Collections.IEnumerable"/>.</returns>
|
|
533
|
+
<exception cref="T:System.ArgumentNullException">Argument Null Exception.</exception>
|
|
534
|
+
</member>
|
|
535
|
+
<member name="T:Microsoft.Authentication.MSALWrapper.IMsalWrapper">
|
|
536
|
+
<summary>
|
|
537
|
+
An interface for acquiring an AAD Access Token.
|
|
538
|
+
</summary>
|
|
539
|
+
</member>
|
|
540
|
+
<member name="M:Microsoft.Authentication.MSALWrapper.IMsalWrapper.AccessToken(Microsoft.Extensions.Logging.ILogger,Microsoft.Authentication.MSALWrapper.AuthParameters,Microsoft.Authentication.MSALWrapper.AuthMode,System.String,System.String,System.TimeSpan)">
|
|
541
|
+
<summary>
|
|
542
|
+
Run the authentication process using a global lock around the client, tenant, scopes trio to prevent multiple
|
|
543
|
+
auth prompts for the same tokens.
|
|
544
|
+
</summary>
|
|
545
|
+
<param name="logger">A <see cref="T:Microsoft.Extensions.Logging.ILogger"/> to use.</param>
|
|
546
|
+
<param name="authParams">The <see cref="T:Microsoft.Authentication.MSALWrapper.AuthParameters"/>.</param>
|
|
547
|
+
<param name="mode">The <see cref="T:Microsoft.Authentication.MSALWrapper.AuthMode"/>. Controls which <see cref="T:Microsoft.Authentication.MSALWrapper.AuthFlow.IAuthFlow"/>s should be used.</param>
|
|
548
|
+
<param name="domain">The domain (account suffix) to filter cached accounts with.</param>
|
|
549
|
+
<param name="prompt">A prompt hint to display to the user if needed.</param>
|
|
550
|
+
<param name="timeout">The max <see cref="T:System.TimeSpan"/> we should spend attempting token acquisition for.</param>
|
|
551
|
+
<returns>A <see cref="T:Microsoft.Authentication.MSALWrapper.MsalWrapper.Result"/> representing the result of the asynchronous operation.</returns>
|
|
552
|
+
</member>
|
|
553
|
+
<member name="T:Microsoft.Authentication.MSALWrapper.IPCAWrapper">
|
|
554
|
+
<summary>
|
|
555
|
+
Not for use outside of Microsoft.Authentication.MSALWrapper.
|
|
556
|
+
This interface is what our Authflows use for it's core business logic.
|
|
557
|
+
</summary>
|
|
558
|
+
</member>
|
|
559
|
+
<member name="M:Microsoft.Authentication.MSALWrapper.IPCAWrapper.GetTokenSilentAsync(System.Collections.Generic.IEnumerable{System.String},Microsoft.Identity.Client.IAccount,System.Threading.CancellationToken)">
|
|
560
|
+
<summary>
|
|
561
|
+
Get token silent async.
|
|
562
|
+
</summary>
|
|
563
|
+
<param name="scopes">The scopes.</param>
|
|
564
|
+
<param name="account">The account.</param>
|
|
565
|
+
<param name="cancellationToken">The cancellation token.</param>
|
|
566
|
+
<returns>The <see cref="T:System.Threading.Tasks.Task"/>.</returns>
|
|
567
|
+
</member>
|
|
568
|
+
<member name="M:Microsoft.Authentication.MSALWrapper.IPCAWrapper.GetTokenInteractiveAsync(System.Collections.Generic.IEnumerable{System.String},Microsoft.Identity.Client.IAccount,System.Threading.CancellationToken)">
|
|
569
|
+
<summary>
|
|
570
|
+
Get token interactive async.
|
|
571
|
+
</summary>
|
|
572
|
+
<param name="scopes">The scopes.</param>
|
|
573
|
+
<param name="account">The account.</param>
|
|
574
|
+
<param name="cancellationToken">The cancellation token.</param>
|
|
575
|
+
<returns>The <see cref="T:System.Threading.Tasks.Task"/>.</returns>
|
|
576
|
+
</member>
|
|
577
|
+
<member name="M:Microsoft.Authentication.MSALWrapper.IPCAWrapper.GetTokenInteractiveAsync(System.Collections.Generic.IEnumerable{System.String},System.String,System.Threading.CancellationToken)">
|
|
578
|
+
<summary>
|
|
579
|
+
Get token interactive async.
|
|
580
|
+
</summary>
|
|
581
|
+
<param name="scopes">The scopes.</param>
|
|
582
|
+
<param name="claims">The claims.</param>
|
|
583
|
+
<param name="cancellationToken">The cancellation token.</param>
|
|
584
|
+
<returns>The <see cref="T:System.Threading.Tasks.Task"/>.</returns>
|
|
585
|
+
</member>
|
|
586
|
+
<member name="M:Microsoft.Authentication.MSALWrapper.IPCAWrapper.GetTokenDeviceCodeAsync(System.Collections.Generic.IEnumerable{System.String},System.Func{Microsoft.Identity.Client.DeviceCodeResult,System.Threading.Tasks.Task},System.Threading.CancellationToken)">
|
|
587
|
+
<summary>
|
|
588
|
+
Get token device code async.
|
|
589
|
+
</summary>
|
|
590
|
+
<param name="scopes">The scopes.</param>
|
|
591
|
+
<param name="callback">The callback.</param>
|
|
592
|
+
<param name="cancellationToken">The cancellation token.</param>
|
|
593
|
+
<returns>The <see cref="T:System.Threading.Tasks.Task"/>.</returns>
|
|
594
|
+
</member>
|
|
595
|
+
<member name="M:Microsoft.Authentication.MSALWrapper.IPCAWrapper.GetTokenIntegratedWindowsAuthenticationAsync(System.Collections.Generic.IEnumerable{System.String},System.Threading.CancellationToken)">
|
|
596
|
+
<summary>
|
|
597
|
+
Get token integrated windows authentication async.
|
|
598
|
+
</summary>
|
|
599
|
+
<param name="scopes">The scopes.</param>
|
|
600
|
+
<param name="cancellationToken">The cancellation token.</param>
|
|
601
|
+
<returns>The <see cref="T:System.Threading.Tasks.Task"/>.</returns>
|
|
602
|
+
</member>
|
|
603
|
+
<member name="M:Microsoft.Authentication.MSALWrapper.IPCAWrapper.WithPromptHint(System.String)">
|
|
604
|
+
<summary>
|
|
605
|
+
Customize the title bar by prompt hint(Web mode only).
|
|
606
|
+
</summary>
|
|
607
|
+
<param name="promptHint">The prompt hint text.</param>
|
|
608
|
+
<returns>This.</returns>
|
|
609
|
+
</member>
|
|
610
|
+
<member name="M:Microsoft.Authentication.MSALWrapper.IPCAWrapper.WithEmbeddedWebView(System.Boolean)">
|
|
611
|
+
<summary>
|
|
612
|
+
Enable or disable using an embedded web view for web mode prompts.
|
|
613
|
+
Embedded web view is inherently unreliable for passing CA conditions and is off by default.
|
|
614
|
+
</summary>
|
|
615
|
+
<param name="enabled">Whether or not to use the embedded web view for web mode prompts.</param>
|
|
616
|
+
<returns>This.</returns>
|
|
617
|
+
</member>
|
|
618
|
+
<member name="M:Microsoft.Authentication.MSALWrapper.IPCAWrapper.TryToGetCachedAccountAsync(System.String)">
|
|
619
|
+
<summary>
|
|
620
|
+
Tries to return a cached account when the list has only one account using the preferred domain if provided.
|
|
621
|
+
A null return indicates one of the following.
|
|
622
|
+
No accounts were found in cache.
|
|
623
|
+
No accounts match the domain.
|
|
624
|
+
More than one account with the same domain was found in the list.
|
|
625
|
+
</summary>
|
|
626
|
+
<param name="preferredDomain">The preferred domain.</param>
|
|
627
|
+
<returns>The <see cref="T:System.Threading.Tasks.Task"/>.</returns>
|
|
628
|
+
</member>
|
|
629
|
+
<member name="M:Microsoft.Authentication.MSALWrapper.IPCAWrapper.TryToGetCachedAccountsAsync(System.String)">
|
|
630
|
+
<summary>
|
|
631
|
+
Tries to get a list of cached accounts using the preferred domain if provided.
|
|
632
|
+
It returns null if no accounts are returned from the PCA.
|
|
633
|
+
</summary>
|
|
634
|
+
<param name="preferredDomain">The preferred domain.</param>
|
|
635
|
+
<returns>The <see cref="T:System.Threading.Tasks.Task"/>.</returns>
|
|
636
|
+
</member>
|
|
637
|
+
<member name="M:Microsoft.Authentication.MSALWrapper.IPCAWrapper.RemoveAsync(Microsoft.Identity.Client.IAccount)">
|
|
638
|
+
<summary>
|
|
639
|
+
Remove an account from the file cache.
|
|
640
|
+
</summary>
|
|
641
|
+
<param name="account">IAccount to remove.</param>
|
|
642
|
+
<returns>A <see cref="T:System.Threading.Tasks.Task"/> representing the asynchronous operation.</returns>
|
|
643
|
+
</member>
|
|
644
|
+
<member name="T:Microsoft.Authentication.MSALWrapper.IPlatformUtils">
|
|
645
|
+
<summary>
|
|
646
|
+
An interface for platform utility methods.
|
|
647
|
+
</summary>
|
|
648
|
+
</member>
|
|
649
|
+
<member name="M:Microsoft.Authentication.MSALWrapper.IPlatformUtils.IsWindows10Or11">
|
|
650
|
+
<summary>
|
|
651
|
+
Check if running on Windows 10 or 11.
|
|
652
|
+
</summary>
|
|
653
|
+
<returns><see cref="T:System.Boolean"/> - true if running on Windows 10 or 11.</returns>
|
|
654
|
+
</member>
|
|
655
|
+
<member name="M:Microsoft.Authentication.MSALWrapper.IPlatformUtils.IsWindows">
|
|
656
|
+
<summary>
|
|
657
|
+
Check if running on any version of Windows.
|
|
658
|
+
</summary>
|
|
659
|
+
<returns><see cref="T:System.Boolean"/> - true if running on any version of Windows.</returns>
|
|
660
|
+
</member>
|
|
661
|
+
<member name="T:Microsoft.Authentication.MSALWrapper.IStopwatch">
|
|
662
|
+
<summary>
|
|
663
|
+
A thin wrapper for Stopwatch to manage timeout.
|
|
664
|
+
</summary>
|
|
665
|
+
</member>
|
|
666
|
+
<member name="M:Microsoft.Authentication.MSALWrapper.IStopwatch.TimedOut">
|
|
667
|
+
<summary>
|
|
668
|
+
Determines if the timer has timed out.
|
|
669
|
+
</summary>
|
|
670
|
+
<returns>True if timer has timed out.</returns>
|
|
671
|
+
</member>
|
|
672
|
+
<member name="M:Microsoft.Authentication.MSALWrapper.IStopwatch.Remaining">
|
|
673
|
+
<summary>
|
|
674
|
+
Get the remaining time before timeout.
|
|
675
|
+
</summary>
|
|
676
|
+
<returns>Remaining TimeSpan.</returns>
|
|
677
|
+
</member>
|
|
678
|
+
<member name="M:Microsoft.Authentication.MSALWrapper.IStopwatch.Elapsed">
|
|
679
|
+
<summary>
|
|
680
|
+
Get the time elapsed since timer started.
|
|
681
|
+
</summary>
|
|
682
|
+
<returns>Timespan elapsed for the timer.</returns>
|
|
683
|
+
</member>
|
|
684
|
+
<member name="M:Microsoft.Authentication.MSALWrapper.IStopwatch.Start">
|
|
685
|
+
<summary>
|
|
686
|
+
Start the timer.
|
|
687
|
+
</summary>
|
|
688
|
+
</member>
|
|
689
|
+
<member name="M:Microsoft.Authentication.MSALWrapper.IStopwatch.Stop">
|
|
690
|
+
<summary>
|
|
691
|
+
Stop the timer.
|
|
692
|
+
</summary>
|
|
693
|
+
</member>
|
|
694
|
+
<member name="T:Microsoft.Authentication.MSALWrapper.JsonWebTokenExtensions">
|
|
695
|
+
<summary>
|
|
696
|
+
Json web token extensions.
|
|
697
|
+
</summary>
|
|
698
|
+
</member>
|
|
699
|
+
<member name="M:Microsoft.Authentication.MSALWrapper.JsonWebTokenExtensions.GetAzureUserName(Microsoft.IdentityModel.JsonWebTokens.JsonWebToken)">
|
|
700
|
+
<summary>
|
|
701
|
+
Get an azure user name.
|
|
702
|
+
</summary>
|
|
703
|
+
<param name="jwt">The jwt.</param>
|
|
704
|
+
<returns>The <see cref="T:System.String"/>.</returns>
|
|
705
|
+
</member>
|
|
706
|
+
<member name="M:Microsoft.Authentication.MSALWrapper.JsonWebTokenExtensions.GetDisplayName(Microsoft.IdentityModel.JsonWebTokens.JsonWebToken)">
|
|
707
|
+
<summary>
|
|
708
|
+
Get a display name.
|
|
709
|
+
</summary>
|
|
710
|
+
<param name="jwt">The jwt.</param>
|
|
711
|
+
<returns>The <see cref="T:System.String"/>.</returns>
|
|
712
|
+
</member>
|
|
713
|
+
<member name="M:Microsoft.Authentication.MSALWrapper.JsonWebTokenExtensions.GetSID(Microsoft.IdentityModel.JsonWebTokens.JsonWebToken)">
|
|
714
|
+
<summary>
|
|
715
|
+
Get the SID.
|
|
716
|
+
</summary>
|
|
717
|
+
<param name="jwt">The JSON web token.</param>
|
|
718
|
+
<returns>The <see cref="T:System.String"/>.</returns>
|
|
719
|
+
</member>
|
|
720
|
+
<member name="T:Microsoft.Authentication.MSALWrapper.Locked">
|
|
721
|
+
<summary>
|
|
722
|
+
A method for executing a <see cref="T:System.Func`1"/> under an inter-process lock.
|
|
723
|
+
</summary>
|
|
724
|
+
</member>
|
|
725
|
+
<member name="T:Microsoft.Authentication.MSALWrapper.Locked.Visibility">
|
|
726
|
+
<summary>
|
|
727
|
+
<see cref="T:System.Threading.Mutex"/> visibility levels between terminal server sessions.
|
|
728
|
+
</summary>
|
|
729
|
+
</member>
|
|
730
|
+
<member name="F:Microsoft.Authentication.MSALWrapper.Locked.Visibility.Local">
|
|
731
|
+
<summary>Local visibility.</summary>
|
|
732
|
+
</member>
|
|
733
|
+
<member name="F:Microsoft.Authentication.MSALWrapper.Locked.Visibility.Global">
|
|
734
|
+
<summary>Global visibility.</summary>
|
|
735
|
+
</member>
|
|
736
|
+
<member name="M:Microsoft.Authentication.MSALWrapper.Locked.Execute``1(Microsoft.Extensions.Logging.ILogger,System.String,System.TimeSpan,System.Func{System.Threading.Tasks.Task{``0}},Microsoft.Authentication.MSALWrapper.Locked.Visibility)">
|
|
737
|
+
<summary>
|
|
738
|
+
Execute the given <paramref name="subject"/> under the <paramref name="lockName"/> as a "Local\" inter-process lock.
|
|
739
|
+
</summary>
|
|
740
|
+
<typeparam name="T">The <see cref="T:System.Type"/> you want to return in a locked blocked.</typeparam>
|
|
741
|
+
<param name="logger">An <see cref="T:Microsoft.Extensions.Logging.ILogger"/> to use for logging.</param>
|
|
742
|
+
<param name="lockName">A lock name. This will be treated like file on *nix systems and will be path sanitized.</param>
|
|
743
|
+
<param name="maxLockWaitTime">The max amount of time to wait to acquire the lock.</param>
|
|
744
|
+
<param name="subject">A <see cref="T:System.Func`1"/> representing the action to take while holding the lock.</param>
|
|
745
|
+
<param name="visibility">The <see cref="T:Microsoft.Authentication.MSALWrapper.Locked.Visibility"/> of the <see cref="T:System.Threading.Mutex"/>.</param>
|
|
746
|
+
<returns>A <typeparamref name="T"/> result.</returns>
|
|
747
|
+
<exception cref="T:System.TimeoutException">This lock will attempt to wait for the <paramref name="maxLockWaitTime"/>, and if not acquired throws a <see cref="T:System.TimeoutException"/>.</exception>
|
|
748
|
+
</member>
|
|
749
|
+
<member name="M:Microsoft.Authentication.MSALWrapper.Locked.LockName(System.String,Microsoft.Authentication.MSALWrapper.Locked.Visibility)">
|
|
750
|
+
<summary>
|
|
751
|
+
Create a safe lockname.
|
|
752
|
+
</summary>
|
|
753
|
+
<param name="lockName">The lock name.</param>
|
|
754
|
+
<param name="visibility">The Mutex <see cref="T:Microsoft.Authentication.MSALWrapper.Locked.Visibility"/>.</param>
|
|
755
|
+
<returns>A safe lock name derived from <paramref name="visibility"/> and <paramref name="lockName"/>.</returns>
|
|
756
|
+
</member>
|
|
757
|
+
<member name="T:Microsoft.Authentication.MSALWrapper.MsalWrapper">
|
|
758
|
+
<summary>
|
|
759
|
+
A functional orchestrator of doing auth using the building blocks
|
|
760
|
+
of <see cref="T:Microsoft.Authentication.MSALWrapper.AuthFlow.AuthFlowFactory"/> and <see cref="T:Microsoft.Authentication.MSALWrapper.AuthFlow.AuthFlowExecutor"/>.
|
|
761
|
+
</summary>
|
|
762
|
+
</member>
|
|
763
|
+
<member name="T:Microsoft.Authentication.MSALWrapper.MsalWrapper.Result">
|
|
764
|
+
<summary>
|
|
765
|
+
The result of running <see cref="T:Microsoft.Authentication.MSALWrapper.MsalWrapper"/>.
|
|
766
|
+
</summary>
|
|
767
|
+
</member>
|
|
768
|
+
<member name="P:Microsoft.Authentication.MSALWrapper.MsalWrapper.Result.Success">
|
|
769
|
+
<summary>
|
|
770
|
+
Gets the success <see cref="T:Microsoft.Authentication.MSALWrapper.AuthFlowResult"/> from <see cref="P:Microsoft.Authentication.MSALWrapper.MsalWrapper.Result.Attempts"/> if one exists, null otherwise.
|
|
771
|
+
</summary>
|
|
772
|
+
</member>
|
|
773
|
+
<member name="P:Microsoft.Authentication.MSALWrapper.MsalWrapper.Result.Attempts">
|
|
774
|
+
<summary>
|
|
775
|
+
Gets all the attempts made to authenticate.
|
|
776
|
+
</summary>
|
|
777
|
+
</member>
|
|
778
|
+
<member name="M:Microsoft.Authentication.MSALWrapper.MsalWrapper.#ctor">
|
|
779
|
+
<summary>
|
|
780
|
+
Initializes a new instance of the <see cref="T:Microsoft.Authentication.MSALWrapper.MsalWrapper"/> class.
|
|
781
|
+
</summary>
|
|
782
|
+
</member>
|
|
783
|
+
<member name="M:Microsoft.Authentication.MSALWrapper.MsalWrapper.AccessToken(Microsoft.Extensions.Logging.ILogger,Microsoft.Authentication.MSALWrapper.AuthParameters,Microsoft.Authentication.MSALWrapper.AuthMode,System.String,System.String,System.TimeSpan)">
|
|
784
|
+
<inheritdoc/>
|
|
785
|
+
</member>
|
|
786
|
+
<member name="T:Microsoft.Authentication.MSALWrapper.PCACache">
|
|
787
|
+
<summary>
|
|
788
|
+
The PCA cache class.
|
|
789
|
+
</summary>
|
|
790
|
+
</member>
|
|
791
|
+
<member name="M:Microsoft.Authentication.MSALWrapper.PCACache.#ctor(Microsoft.Extensions.Logging.ILogger,System.Guid)">
|
|
792
|
+
<summary>
|
|
793
|
+
Initializes a new instance of the <see cref="T:Microsoft.Authentication.MSALWrapper.PCACache"/> class.
|
|
794
|
+
</summary>
|
|
795
|
+
<param name="logger">The logger.</param>
|
|
796
|
+
<param name="tenantId">The tenant id.</param>
|
|
797
|
+
</member>
|
|
798
|
+
<member name="M:Microsoft.Authentication.MSALWrapper.PCACache.SetupTokenCache(Microsoft.Identity.Client.ITokenCache,System.Collections.Generic.IList{System.Exception})">
|
|
799
|
+
<summary>
|
|
800
|
+
Sets up the token cache.
|
|
801
|
+
</summary>
|
|
802
|
+
<param name="userTokenCache">An <see cref="T:Microsoft.Identity.Client.ITokenCache"/> to use.</param>
|
|
803
|
+
<param name="errors">The errors list to append error encountered to.</param>
|
|
804
|
+
</member>
|
|
805
|
+
<member name="M:Microsoft.Authentication.MSALWrapper.PCACache.GetCacheServiceFolder">
|
|
806
|
+
<summary>
|
|
807
|
+
Gets the absolute path of the cache folder. Only available on Windows.
|
|
808
|
+
</summary>
|
|
809
|
+
<returns>The absolute path of the cache folder.</returns>
|
|
810
|
+
</member>
|
|
811
|
+
<member name="T:Microsoft.Authentication.MSALWrapper.PCAWrapper">
|
|
812
|
+
<summary>
|
|
813
|
+
Not for use outside of Microsoft.Authentication.MSALWrapper.
|
|
814
|
+
This wrapper enables us to mock pca behavior which we cannot do with the MSAL
|
|
815
|
+
provided IPublicClientApplication interface since all there methods return instances of non-mockable param builders
|
|
816
|
+
that must be called to get the actual authentication result objects.
|
|
817
|
+
</summary>
|
|
818
|
+
</member>
|
|
819
|
+
<member name="M:Microsoft.Authentication.MSALWrapper.PCAWrapper.#ctor(Microsoft.Extensions.Logging.ILogger,Microsoft.Identity.Client.IPublicClientApplication)">
|
|
820
|
+
<summary>
|
|
821
|
+
Initializes a new instance of the <see cref="T:Microsoft.Authentication.MSALWrapper.PCAWrapper"/> class without caching.
|
|
822
|
+
</summary>
|
|
823
|
+
<param name="logger">The logger.</param>
|
|
824
|
+
<param name="pca">The public client application instance.</param>
|
|
825
|
+
</member>
|
|
826
|
+
<member name="M:Microsoft.Authentication.MSALWrapper.PCAWrapper.#ctor(Microsoft.Extensions.Logging.ILogger,Microsoft.Identity.Client.IPublicClientApplication,System.Collections.Generic.IList{System.Exception},System.Guid)">
|
|
827
|
+
<summary>
|
|
828
|
+
Initializes a new instance of the <see cref="T:Microsoft.Authentication.MSALWrapper.PCAWrapper"/> class with x-plat caching configured.
|
|
829
|
+
</summary>
|
|
830
|
+
<param name="logger">The logger.</param>
|
|
831
|
+
<param name="pca">The public client application instance.</param>
|
|
832
|
+
<param name="errors">The errors list to append error encountered to.</param>
|
|
833
|
+
<param name="tenantId">The tenant ID to help key the cache off of.</param>
|
|
834
|
+
</member>
|
|
835
|
+
<member name="P:Microsoft.Authentication.MSALWrapper.PCAWrapper.PromptHint">
|
|
836
|
+
<summary>
|
|
837
|
+
Gets or sets the prompt hint displayed in the title bar.
|
|
838
|
+
</summary>
|
|
839
|
+
</member>
|
|
840
|
+
<member name="P:Microsoft.Authentication.MSALWrapper.PCAWrapper.UseEmbeddedWebView">
|
|
841
|
+
<summary>
|
|
842
|
+
Gets a value indicating whether or not to use the system web browser for web mode prompts. Default: false.
|
|
843
|
+
</summary>
|
|
844
|
+
</member>
|
|
845
|
+
<member name="M:Microsoft.Authentication.MSALWrapper.PCAWrapper.WithPromptHint(System.String)">
|
|
846
|
+
<inheritdoc/>
|
|
847
|
+
</member>
|
|
848
|
+
<member name="M:Microsoft.Authentication.MSALWrapper.PCAWrapper.WithEmbeddedWebView(System.Boolean)">
|
|
849
|
+
<inheritdoc/>
|
|
850
|
+
</member>
|
|
851
|
+
<member name="M:Microsoft.Authentication.MSALWrapper.PCAWrapper.GetTokenSilentAsync(System.Collections.Generic.IEnumerable{System.String},Microsoft.Identity.Client.IAccount,System.Threading.CancellationToken)">
|
|
852
|
+
<inheritdoc/>
|
|
853
|
+
</member>
|
|
854
|
+
<member name="M:Microsoft.Authentication.MSALWrapper.PCAWrapper.GetTokenInteractiveAsync(System.Collections.Generic.IEnumerable{System.String},Microsoft.Identity.Client.IAccount,System.Threading.CancellationToken)">
|
|
855
|
+
<inheritdoc/>
|
|
856
|
+
</member>
|
|
857
|
+
<member name="M:Microsoft.Authentication.MSALWrapper.PCAWrapper.GetTokenInteractiveAsync(System.Collections.Generic.IEnumerable{System.String},System.String,System.Threading.CancellationToken)">
|
|
858
|
+
<inheritdoc/>
|
|
859
|
+
</member>
|
|
860
|
+
<member name="M:Microsoft.Authentication.MSALWrapper.PCAWrapper.GetTokenDeviceCodeAsync(System.Collections.Generic.IEnumerable{System.String},System.Func{Microsoft.Identity.Client.DeviceCodeResult,System.Threading.Tasks.Task},System.Threading.CancellationToken)">
|
|
861
|
+
<inheritdoc/>
|
|
862
|
+
</member>
|
|
863
|
+
<member name="M:Microsoft.Authentication.MSALWrapper.PCAWrapper.GetTokenIntegratedWindowsAuthenticationAsync(System.Collections.Generic.IEnumerable{System.String},System.Threading.CancellationToken)">
|
|
864
|
+
<inheritdoc/>
|
|
865
|
+
</member>
|
|
866
|
+
<member name="M:Microsoft.Authentication.MSALWrapper.PCAWrapper.TryToGetCachedAccountAsync(System.String)">
|
|
867
|
+
<inheritdoc/>
|
|
868
|
+
</member>
|
|
869
|
+
<member name="M:Microsoft.Authentication.MSALWrapper.PCAWrapper.TryToGetCachedAccountsAsync(System.String)">
|
|
870
|
+
<inheritdoc/>
|
|
871
|
+
</member>
|
|
872
|
+
<member name="M:Microsoft.Authentication.MSALWrapper.PCAWrapper.RemoveAsync(Microsoft.Identity.Client.IAccount)">
|
|
873
|
+
<inheritdoc/>
|
|
874
|
+
</member>
|
|
875
|
+
<member name="T:Microsoft.Authentication.MSALWrapper.PlatformUtils">
|
|
876
|
+
<summary>
|
|
877
|
+
A class for checking platform information.
|
|
878
|
+
</summary>
|
|
879
|
+
</member>
|
|
880
|
+
<member name="M:Microsoft.Authentication.MSALWrapper.PlatformUtils.#ctor(Microsoft.Extensions.Logging.ILogger)">
|
|
881
|
+
<summary>
|
|
882
|
+
Initializes a new instance of the <see cref="T:Microsoft.Authentication.MSALWrapper.PlatformUtils"/> class.
|
|
883
|
+
</summary>
|
|
884
|
+
<param name="logger">An <see cref="T:Microsoft.Extensions.Logging.ILogger"/> to use.</param>
|
|
885
|
+
</member>
|
|
886
|
+
<member name="M:Microsoft.Authentication.MSALWrapper.PlatformUtils.IsWindows10Or11">
|
|
887
|
+
<inheritdoc/>
|
|
888
|
+
</member>
|
|
889
|
+
<member name="M:Microsoft.Authentication.MSALWrapper.PlatformUtils.IsWindows">
|
|
890
|
+
<inheritdoc/>
|
|
891
|
+
</member>
|
|
892
|
+
<member name="T:Microsoft.Authentication.MSALWrapper.StopwatchTracker">
|
|
893
|
+
<summary>
|
|
894
|
+
Tracks the timer for timeout.
|
|
895
|
+
</summary>
|
|
896
|
+
</member>
|
|
897
|
+
<member name="M:Microsoft.Authentication.MSALWrapper.StopwatchTracker.#ctor(System.TimeSpan)">
|
|
898
|
+
<summary>
|
|
899
|
+
Initializes a new instance of the <see cref="T:Microsoft.Authentication.MSALWrapper.StopwatchTracker"/> class.
|
|
900
|
+
</summary>
|
|
901
|
+
<param name="timeout"> Timeout period.</param>
|
|
902
|
+
</member>
|
|
903
|
+
<member name="M:Microsoft.Authentication.MSALWrapper.StopwatchTracker.Elapsed">
|
|
904
|
+
<summary>
|
|
905
|
+
Get Elapsed time for timer.
|
|
906
|
+
</summary>
|
|
907
|
+
<returns> Elapsed Timespan.</returns>
|
|
908
|
+
</member>
|
|
909
|
+
<member name="M:Microsoft.Authentication.MSALWrapper.StopwatchTracker.Remaining">
|
|
910
|
+
<summary>
|
|
911
|
+
Time remaining before the timer times out.
|
|
912
|
+
</summary>
|
|
913
|
+
<returns>Remaining time for timeout.</returns>
|
|
914
|
+
</member>
|
|
915
|
+
<member name="M:Microsoft.Authentication.MSALWrapper.StopwatchTracker.TimedOut">
|
|
916
|
+
<summary>
|
|
917
|
+
Check if the timer has timed out.
|
|
918
|
+
</summary>
|
|
919
|
+
<returns>True if the timer has timed out.</returns>
|
|
920
|
+
</member>
|
|
921
|
+
<member name="M:Microsoft.Authentication.MSALWrapper.StopwatchTracker.Start">
|
|
922
|
+
<summary>
|
|
923
|
+
Starts the timer.
|
|
924
|
+
</summary>
|
|
925
|
+
</member>
|
|
926
|
+
<member name="M:Microsoft.Authentication.MSALWrapper.StopwatchTracker.Stop">
|
|
927
|
+
<summary>
|
|
928
|
+
Stops the timer.
|
|
929
|
+
</summary>
|
|
930
|
+
</member>
|
|
931
|
+
<member name="T:Microsoft.Authentication.MSALWrapper.TokenResult">
|
|
932
|
+
<summary>
|
|
933
|
+
Token result.
|
|
934
|
+
</summary>
|
|
935
|
+
</member>
|
|
936
|
+
<member name="M:Microsoft.Authentication.MSALWrapper.TokenResult.#ctor(Microsoft.IdentityModel.JsonWebTokens.JsonWebToken,System.Guid)">
|
|
937
|
+
<summary>
|
|
938
|
+
Initializes a new instance of the <see cref="T:Microsoft.Authentication.MSALWrapper.TokenResult"/> class.
|
|
939
|
+
</summary>
|
|
940
|
+
<param name="jwt">The jwt.</param>
|
|
941
|
+
<param name="correlationID">The correlation ID.</param>
|
|
942
|
+
</member>
|
|
943
|
+
<member name="P:Microsoft.Authentication.MSALWrapper.TokenResult.JWT">
|
|
944
|
+
<summary>
|
|
945
|
+
Gets or sets the jwt.
|
|
946
|
+
</summary>
|
|
947
|
+
</member>
|
|
948
|
+
<member name="P:Microsoft.Authentication.MSALWrapper.TokenResult.CorrelationID">
|
|
949
|
+
<summary>
|
|
950
|
+
Gets the correlation ID.
|
|
951
|
+
</summary>
|
|
952
|
+
</member>
|
|
953
|
+
<member name="P:Microsoft.Authentication.MSALWrapper.TokenResult.Token">
|
|
954
|
+
<summary>
|
|
955
|
+
Gets the token.
|
|
956
|
+
</summary>
|
|
957
|
+
</member>
|
|
958
|
+
<member name="P:Microsoft.Authentication.MSALWrapper.TokenResult.User">
|
|
959
|
+
<summary>
|
|
960
|
+
Gets the user.
|
|
961
|
+
</summary>
|
|
962
|
+
</member>
|
|
963
|
+
<member name="P:Microsoft.Authentication.MSALWrapper.TokenResult.DisplayName">
|
|
964
|
+
<summary>
|
|
965
|
+
Gets the display name.
|
|
966
|
+
</summary>
|
|
967
|
+
</member>
|
|
968
|
+
<member name="P:Microsoft.Authentication.MSALWrapper.TokenResult.ValidFor">
|
|
969
|
+
<summary>
|
|
970
|
+
Gets the valid for timespan.
|
|
971
|
+
</summary>
|
|
972
|
+
</member>
|
|
973
|
+
<member name="P:Microsoft.Authentication.MSALWrapper.TokenResult.IsSilent">
|
|
974
|
+
<summary>
|
|
975
|
+
Gets a value indicating whether this token was acquired silently or not.
|
|
976
|
+
</summary>
|
|
977
|
+
</member>
|
|
978
|
+
<member name="P:Microsoft.Authentication.MSALWrapper.TokenResult.SID">
|
|
979
|
+
<summary>
|
|
980
|
+
Gets the user's security identifier.
|
|
981
|
+
</summary>
|
|
982
|
+
</member>
|
|
983
|
+
<member name="M:Microsoft.Authentication.MSALWrapper.TokenResult.ToString">
|
|
984
|
+
<summary>
|
|
985
|
+
To string that shows successful authentication for user.
|
|
986
|
+
</summary>
|
|
987
|
+
<returns>The <see cref="T:System.String"/>.</returns>
|
|
988
|
+
</member>
|
|
989
|
+
<member name="M:Microsoft.Authentication.MSALWrapper.TokenResult.ToJson">
|
|
990
|
+
<summary>
|
|
991
|
+
Converts the jwt to a string.
|
|
992
|
+
</summary>
|
|
993
|
+
<returns>The <see cref="T:System.String"/>.</returns>
|
|
994
|
+
</member>
|
|
995
|
+
</members>
|
|
996
|
+
</doc>
|