-
Notifications
You must be signed in to change notification settings - Fork 192
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add TypedItem to allow for psr/cache:3
- Loading branch information
Showing
46 changed files
with
678 additions
and
2,026 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
|
||
<dl> | ||
<dt>Homepage</dt><dd><a href="http://www.github.com/google/google-auth-library-php">http://www.github.com/google/google-auth-library-php</a></dd> | ||
<dt>Reference Docs</dt><dd><a href="https://googleapis.github.io/google-auth-library-php/master/">https://googleapis.github.io/google-auth-library-php/master/</a></dd> | ||
<dt>Reference Docs</dt><dd><a href="https://googleapis.github.io/google-auth-library-php/main/">https://googleapis.github.io/google-auth-library-php/main/</a></dd> | ||
<dt>Authors</dt> | ||
<dd><a href="mailto:[email protected]">Tim Emiola</a></dd> | ||
<dd><a href="mailto:[email protected]">Stanley Cheung</a></dd> | ||
|
@@ -175,7 +175,7 @@ used when you set up your protected resource as the target audience. See how to | |
#### Call using a specific JSON key | ||
If you want to use a specific JSON key instead of using `GOOGLE_APPLICATION_CREDENTIALS` environment variable, you can | ||
do this: | ||
|
||
```php | ||
use Google\Auth\CredentialsLoader; | ||
use Google\Auth\Middleware\AuthTokenMiddleware; | ||
|
@@ -216,10 +216,10 @@ print_r((string) $response->getBody()); | |
|
||
#### Call using Proxy-Authorization Header | ||
If your application is behind a proxy such as [Google Cloud IAP][iap-proxy-header], | ||
and your application occupies the `Authorization` request header, | ||
you can include the ID token in a `Proxy-Authorization: Bearer` | ||
header instead. If a valid ID token is found in a `Proxy-Authorization` header, | ||
IAP authorizes the request with it. After authorizing the request, IAP passes | ||
and your application occupies the `Authorization` request header, | ||
you can include the ID token in a `Proxy-Authorization: Bearer` | ||
header instead. If a valid ID token is found in a `Proxy-Authorization` header, | ||
IAP authorizes the request with it. After authorizing the request, IAP passes | ||
the Authorization header to your application without processing the content. | ||
For this, use the static method `getProxyIdTokenMiddleware` on | ||
`ApplicationDefaultCredentials`. | ||
|
@@ -305,8 +305,8 @@ 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 | ||
[contributing]: https://github.com/google/google-auth-library-php/tree/master/.github/CONTRIBUTING.md | ||
[copying]: https://github.com/google/google-auth-library-php/tree/master/COPYING | ||
[contributing]: https://github.com/google/google-auth-library-php/tree/main/.github/CONTRIBUTING.md | ||
[copying]: https://github.com/google/google-auth-library-php/tree/main/COPYING | ||
[Guzzle]: https://github.com/guzzle/guzzle | ||
[Guzzle 5]: http://docs.guzzlephp.org/en/5.3 | ||
[developer console]: https://console.developers.google.com |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.