Microsoft.Identity.Client.PublicClientApplication.AcquireTokenCommonAsync C# (CSharp) Method

AcquireTokenCommonAsync() private method

private AcquireTokenCommonAsync ( Authenticator authenticator, string scope, string additionalScope, Uri redirectUri, User user, UiOptions uiOptions, string extraQueryParameters, string policy ) : Task
authenticator Microsoft.Identity.Client.Internal.Authenticator
scope string
additionalScope string
redirectUri System.Uri
user User
uiOptions UiOptions
extraQueryParameters string
policy string
return Task
        private async Task<AuthenticationResult> AcquireTokenCommonAsync(Authenticator authenticator, string[] scope, string[] additionalScope, Uri redirectUri, User user, UiOptions uiOptions, string extraQueryParameters, string policy)
        {
            if (this.PlatformParameters == null)
            {
                this.PlatformParameters = PlatformPlugin.DefaultPlatformParameters;
            }

            var handler =
                new InteractiveRequest(
                    this.GetHandlerData(authenticator, scope, policy, this.UserTokenCache), additionalScope, redirectUri,
                    this.PlatformParameters, user, uiOptions, extraQueryParameters,
                    this.CreateWebAuthenticationDialog(this.PlatformParameters));
            return await handler.RunAsync().ConfigureAwait(false);
        }

Same methods

PublicClientApplication::AcquireTokenCommonAsync ( Authenticator authenticator, string scope, string additionalScope, Uri redirectUri, string loginHint, UiOptions uiOptions, string extraQueryParameters, string policy ) : Task