jongfeelkim-VIRNECT / STT-Hololens

Unity translation app using Google Cloud Speech-to-Text on Hololens
MIT License
3 stars 0 forks source link

OAuth2.0 obtaining access tokens #22

Closed jongfeelkim-VIRNECT closed 4 years ago

jongfeelkim-VIRNECT commented 4 years ago

Now get access tokens client library using gcloud command line.

But, Hololens is WinRT based OS, so debug console shows runtime error.

OAuth2.0 access token replace to HTTP/REST method.

https://developers.google.com/identity/protocols/oauth2/web-server#obtainingaccesstokens

jongfeelkim-VIRNECT commented 4 years ago

Add feature refresh access token. To get refresh access token, rest call to google auth server and get refresh_token. Details reference: https://developers.google.com/identity/protocols/oauth2/web-server#offline