ContextModelExtensions.SetTokenCache Method

Definition

Overloads

SetTokenCache(IAzureContextContainer, IAzureTokenCache)

C#
public static void SetTokenCache (this Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer container, Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureTokenCache cache);

Parameters

Applies to

Azure - PowerShell Commands Latest and Azure - PowerShell Commands 12 (LTS)
Product Versions
Azure - PowerShell Commands 12 (LTS), Latest

SetTokenCache(IAzureContextContainer, IAzureTokenCache)

C#
public static void SetTokenCache (this Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureContextContainer container, Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureTokenCache cache);

Parameters

Applies to

Azure RM - PowerShell Commands Latest
Product Versions
Azure RM - PowerShell Commands Latest