Lines Matching +full:github +full:- +full:token

4 …e</dt><dd><a href="http://www.github.com/google/google-auth-library-php">http://www.github.com/goo…
5 …dd><a href="https://googleapis.github.io/google-auth-library-php/main/">https://googleapis.github.…
26 curl -sS https://getcomposer.org/installer | php
94 $stack->push($middleware);
104 $response = $client->get('drive/v2/files');
107 print_r((string) $response->getBody());
124 $client->getEmitter()->attach($subscriber);
127 #### Call using an ID Token
128 If your application is running behind Cloud Run, or using Cloud Identity-Aware
129 Proxy (IAP), you will need to fetch an ID token to access your application. For
141 // Provide the ID token audience. This can be a Client ID associated with an IAP application,
144 // $targetAudience = 'https://service-1234-uc.a.run.app';
150 $stack->push($middleware);
161 $response = $client->get('/');
164 print_r((string) $response->getBody());
168 [`Cloud Run Invoker`](https://cloud.google.com/run/docs/authenticating/service-to-service)
171 For invoking Cloud Identity-Aware Proxy, you will need to pass the Client ID
173 [secure your IAP app with signed headers](https://cloud.google.com/iap/docs/signed-headers-howto).
200 $stack->push($middleware);
210 $response = $client->get('drive/v2/files');
213 print_r((string) $response->getBody());
217 #### Call using Proxy-Authorization Header
218 If your application is behind a proxy such as [Google Cloud IAP][iap-proxy-header],
220 you can include the ID token in a `Proxy-Authorization: Bearer`
221 header instead. If a valid ID token is found in a `Proxy-Authorization` header,
235 // Provide the ID token audience. This can be a Client ID associated with an IAP application
242 $stack->push($middleware);
252 $response = $client->get('/');
255 print_r((string) $response->getBody());
258 [iap-proxy-header]: https://cloud.google.com/iap/docs/authentication-howto#authenticating_from_prox…
262 If you are [using Google ID tokens to authenticate users][google-id-tokens], use
263 the `Google\Auth\AccessToken` class to verify the ID token:
269 $auth->verify($idToken);
272 If your app is running behind [Google Identity-Aware Proxy][iap-id-tokens]
273 (IAP), you can verify the ID token coming from the IAP server by pointing to the
281 $auth->verify($idToken, [
286 [google-id-tokens]: https://developers.google.com/identity/sign-in/web/backend-auth
287 [iap-id-tokens]: https://cloud.google.com/iap/docs/signed-headers-howto
301 [report bugs at the project on Github](https://github.com/google/google-auth-library-php/issues). D…
303 [ask questions](http://stackoverflow.com/questions/tagged/google-auth-library-php)
306 [google-apis-php-client]: https://github.com/google/google-api-php-client
307 [application default credentials]: https://developers.google.com/accounts/docs/application-default-
308 [contributing]: https://github.com/google/google-auth-library-php/tree/main/.github/CONTRIBUTING.md
309 [copying]: https://github.com/google/google-auth-library-php/tree/main/COPYING
310 [Guzzle]: https://github.com/guzzle/guzzle