AzureCliCredential Class

  • java.lang.Object
    • com.azure.identity.AzureCliCredential

Implements

public class AzureCliCredential
implements TokenCredential

A credential provider that provides token credentials based on Azure CLI command.

Method Summary

Modifier and Type Method and Description

Mono<AccessToken>

getToken(TokenRequestContext request)
AccessToken getTokenSync(TokenRequestContext request)

Methods inherited from java.lang.Object

Method Details

getToken

public Mono getToken(TokenRequestContext request)

Parameters:

request

getTokenSync

public AccessToken getTokenSync(TokenRequestContext request)

Parameters:

request

Applies to