Skip to content

Commit f276eda

Browse files
committed
Fixed linting issues; updated README
1 parent 771bf00 commit f276eda

File tree

3 files changed

+4
-7
lines changed

3 files changed

+4
-7
lines changed

auth/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ methods will work on any Google Cloud API.
2727
auth-cloud-explicit Authenticate to a cloud client library using a service account explicitly.
2828
auth-api-implicit Authenticate to a cloud API using a service account implicitly.
2929
auth-api-explicit Authenticate to a cloud API using a service account explicitly.
30+
auth-http-implicit Authenticate to a cloud API with HTTP using a service account implicitly.
31+
auth-http-explicit Authenticate to a cloud API with HTTP using a service account explicitly.
3032
```
3133
6. The following commands are available but will throw a ServiceException when
3234
run from command-line. The Compute Engine method only works on Compute Engine,

auth/src/auth_http_explicit.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,7 @@
2323
# [START auth_http_explicit]
2424
namespace Google\Cloud\Samples\Auth;
2525

26-
// Imports the Google Cloud Storage client library, Auth libraries, and Guzzle
27-
// HTTP libraries.
28-
use Google\Cloud\Storage\StorageClient;
26+
# Imports Auth libraries and Guzzle HTTP libraries.
2927
use Google\Auth\Credentials\ServiceAccountCredentials;
3028
use Google\Auth\Middleware\AuthTokenMiddleware;
3129
use GuzzleHttp\Client;

auth/src/auth_http_implicit.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,8 @@
2323
# [START auth_http_implicit]
2424
namespace Google\Cloud\Samples\Auth;
2525

26-
// Imports the Google Cloud Storage client library, Auth libraries, and Guzzle
27-
// HTTP libraries.
28-
use Google\Cloud\Storage\StorageClient;
26+
# Imports Auth libraries and Guzzle HTTP libraries.
2927
use Google\Auth\ApplicationDefaultCredentials;
30-
use Google\Auth\Middleware\AuthTokenMiddleware;
3128
use GuzzleHttp\Client;
3229
use GuzzleHttp\HandlerStack;
3330

0 commit comments

Comments
 (0)