ActiveDirectoryClientSettings.UseCacheOrCookiesOnly(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.
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
Azure SDK for .NET