Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ public ContainerRegistryClientBuilder endpoint(String endpoint) {
*
* <p>
* Example:- For Azure public cloud this value is same as AzureEnvironment.Azure.managementEndpoint().
* For more information - http://azure.github.io/ref-docs/java/com/microsoft/azure/AzureEnvironment.html
* For more information - https://docs.microsoft.com/en-us/azure/active-directory/managed-identities-azure-resources/services-support-managed-identities#azure-resource-manager
* </p>
*
* @param authenticationScope ARM management scope associated with the given registry.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public class ContainerRegistryRefreshTokenCredential {
private final TokenCredential aadTokenCredential;
private final TokenServiceImpl tokenService;
private final String authenticationScope;
public static final String AAD_DEFAULT_SCOPE = "https://management.core.windows.net/.default";
public static final String AAD_DEFAULT_SCOPE = "https://management.azure.com/.default";

/**
* Creates an instance of RefreshTokenCredential with default scheme "Bearer".
Expand Down