Share via


ActiveDirectoryClientSettings.UseCacheOrCookiesOnly(String, Uri) Method

Definition

Returns active directory cient settings that suppress user credential prompts. Authentication will succeed if and only if previous authentication results are cached in the TokenCache or client cookies.

public static Microsoft.Rest.Azure.Authentication.ActiveDirectoryClientSettings UseCacheOrCookiesOnly (string clientId, Uri clientRedirectUri);
static member UseCacheOrCookiesOnly : string * Uri -> Microsoft.Rest.Azure.Authentication.ActiveDirectoryClientSettings
Public Shared Function UseCacheOrCookiesOnly (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

active directory client settings that suppress user credential prompts.

Applies to