AzureResourceManager.Configurable.authenticate(TokenCredential credential, AzureProfile profile) Method

Definition

Authenticates API access based on the provided credential.

public abstract AzureResourceManager.Authenticated authenticate(TokenCredential credential, AzureProfile profile)

Parameters

credential
TokenCredential

The credential to authenticate API access with

profile
AzureProfile

the profile to use

Returns

the authenticated Azure client

Applies to