Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Google Identity Platform

490 views

Published on

Rambler.Android #2: Google Identity Platform (Чугунов Роман)

Published in: Technology
  • Be the first to comment

  • Be the first to like this

Google Identity Platform

  1. 1. { Google Identity Platform Google Play services 7.5
  2. 2.  SignInButton + GoogleApiClient.connect()  Google профиль  Profit  …  Token ID -> Наш бэкенд  Профиль с нашего сайта Google Sign-In
  3. 3. // Build GoogleApiClient with access to basic profile mGoogleApiClient = new GoogleApiClient.Builder(this) .addConnectionCallbacks(this) .addOnConnectionFailedListener(this) .addApi(Plus.API) .addScope(new Scope(Scopes.PROFILE)) .build();
  4. 4. https://www.googleapis.com/oauth2/v3/tokeninfo?id_token=XYZ 123 { … "sub": "110169484474386276334", "email": "billd1600@gmail.com", … "aud": "1008719970978- hb24n2dstb40o45d4feuo2ukqmcc6381.apps.googleusercontent.com” … }
  5. 5. Smart Lock for Passwords Логин Google auto Sign-in Профит! (user signed in) Разлогин Выбор Google account Логин в приложе нии Сохранен ие в Google SL
  6. 6. Auth.CredentialsApi.save(mCredent ialsClient, credential) Credentials API Auth.CredentialsApi.request(mCrede ntialsClient, mCredentialRequest).
  7. 7. Instance ID, Identity, and Authorization

×