ActiveDirectoryClientSettings.UsePromptOnly(String, Uri) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Ignore authentication cookies or cached tokens and force the user to enter valid credentials. Authentication will succeed if and only if the user enters valid credentials.
public static Microsoft.Rest.Azure.Authentication.ActiveDirectoryClientSettings UsePromptOnly (string clientId, Uri clientRedirectUri);
static member UsePromptOnly : string * Uri -> Microsoft.Rest.Azure.Authentication.ActiveDirectoryClientSettings
Public Shared Function UsePromptOnly (clientId As String, clientRedirectUri As Uri) As ActiveDirectoryClientSettings
Parameters
- clientId
- String
The client Id associated with this active directory application.
- clientRedirectUri
- Uri
The client redirect Uri associated with this active directory application.
Returns
Settings that require the user to input credentials,
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET