code: public static Authenticated authenticate(AzureTokenCredentials credentials) {
          return new AuthenticatedImpl(new RestClient.Builder()
                  .withBaseUrl(credentials.environment(), AzureEnvironment.Endpoint.RESOURCE_MANAGER)
                  .withCredentials(credentials)
                  .withSerializerAdapter(new AzureJacksonAdapter())
                  .withResponseBuilderFactory(new AzureResponseBuilder.Factory())
                  .build());
      }
docs: Creates an instance of Azure.Authenticated that exposes subscription, tenant, and authorization API entry points.
  
  @param credentials the credentials to use
  @return the Azure.Authenticated