Skip to content

Commit

Permalink
Merge pull request googleapis#61 from bshaffer/doc-typos
Browse files Browse the repository at this point in the history
fixes doc typos
  • Loading branch information
tbetbetbe committed Sep 11, 2015
2 parents 3207af5 + dbcbabb commit 3d8ffee
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 11 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,10 @@ you're building an application that uses Google Compute Engine.

The goal is for auth done by
[google-apis-php-client][google-apis-php-client] to be be performed
by this library.
by this library.

Eventually, google-apis-php-client should have a dependency on this library.
At the moment, there is no ETA for this, a key prequisite being for google-apis-php-client
At the moment, there is no ETA for this, a key prequisite being for google-apis-php-client
itself take a dependency on [Guzzle][Guzzle] so that it can use the Guzzle
subscribers that this package provides. That's currently [being discussed](http://github.com/google/google-api-php-client#473).
This package's availability should make that transition simpler as there is one
Expand All @@ -78,8 +78,8 @@ hesitate to
[ask questions](http://stackoverflow.com/questions/tagged/google-auth-library-php)
about the client or APIs on [StackOverflow](http://stackoverflow.com).

[google-apis-php-client]: (https://github.com/google/google-api-php-client)
[application default credentials]: (https://developers.google.com/accounts/docs/application-default-credentials)
[google-apis-php-client]: https://github.com/google/google-api-php-client
[application default credentials]: https://developers.google.com/accounts/docs/application-default-credentials
[contributing]: https://github.com/google/google-auth-library-php/tree/master/CONTRIBUTING.md
[copying]: https://github.com/google/google-auth-library-php/tree/master/COPYING
[Guzzle]: https://github.com/guzzle/guzzle
Expand Down
4 changes: 2 additions & 2 deletions src/ApplicationDefaultCredentials.php
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,9 @@ public static function makeCredentials($scope, Stream $jsonKeyStream)
* ]);
* $fetcher = ApplicationDefaultCredentials::getFetcher(
* 'https://www.googleapis.com/auth/taskqueue');
* $client->getEmitter()->attach();
* $client->getEmitter()->attach($fetcher);
*
* $res = $client->('myproject/taskqueues/myqueue');
* $res = $client->get('myproject/taskqueues/myqueue');
*/
class ApplicationDefaultCredentials
{
Expand Down
2 changes: 1 addition & 1 deletion src/AuthTokenFetcher.php
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ public function getEvents()
* 'defaults' => ['auth' => 'google_auth']
* ]);
*
* $res = $client->('myproject/taskqueues/myqueue');
* $res = $client->get('myproject/taskqueues/myqueue');
*/
public function onBefore(BeforeEvent $event)
{
Expand Down
2 changes: 1 addition & 1 deletion src/GCECredentials.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
* 'defaults' => ['auth' => 'google_auth']
* ]);
* $client->getEmitter()->attach($gce);
* $res = $client->('myproject/taskqueues/myqueue');
* $res = $client->get('myproject/taskqueues/myqueue');
*/
class GCECredentials extends CredentialsLoader
{
Expand Down
2 changes: 1 addition & 1 deletion src/ScopedAccessToken.php
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ public function getEvents()
* 'defaults' => ['auth' => 'scoped']
* ]);
*
* $res = $client->('myproject/taskqueues/myqueue');
* $res = $client->get('myproject/taskqueues/myqueue');
*/
public function onBefore(BeforeEvent $event)
{
Expand Down
2 changes: 1 addition & 1 deletion src/ServiceAccountCredentials.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
* ]);
* $client->getEmitter()->attach(new AuthTokenFetcher($sa));
*
* $res = $client->('myproject/taskqueues/myqueue');
* $res = $client->get('myproject/taskqueues/myqueue');
*/
class ServiceAccountCredentials extends CredentialsLoader
{
Expand Down
2 changes: 1 addition & 1 deletion src/Simple.php
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ public function getEvents()
* 'defaults' => ['auth' => 'simple']
* ]);
*
* $res = $client->('drive/v2/rest');
* $res = $client->get('drive/v2/rest');
*/
public function onBefore(BeforeEvent $event)
{
Expand Down

0 comments on commit 3d8ffee

Please sign in to comment.