ActiveDirectoryClientSettings.UsePromptOnly(String, Uri) Method

Definition

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