English subtitles

← Scopes

Get Embed Code
4 Languages

Showing Revision 4 created 05/25/2016 by Udacity Robot.

  1. Before going further,
    let's discuss scopes.
  2. When defining your API client to sign
    in, you'll be defining a scope for
  3. how the sign in works.
  4. A number of the scopes that
    are available are these.
  5. First, is Profile.
  6. This is the basic login scope.
  7. It gives your app access
    to the authenticated user's
  8. basic profile information.
  9. This includes things such as the ID,
    the display name, the image URL or
  10. the profile URL for the user.
  11. Secondly, there's PlusLogin.
  12. And this gives access to the social
    features from Google Plus.
  13. It includes the same
    as the Profile scope.
  14. But it gives access to a number of other
    information, such as the age range,
  15. the list of circles that the user
    has given permission to access and
  16. things such as the ability to read and
  17. write activities on
    the person's Google Plus wall.
  18. The next is the Email scope.
  19. An Email scope gives the access
    to the user's email address for
  20. their Google account that they
    use to sign in as well as
  21. the Google Apps domain that the user
    belongs to, if this is appropriate.
  22. Next is the Email scope.
  23. This gives access to the user's email
    address for their Google account and
  24. the Google App Store name that
    the user belongs to if appropriate.
  25. Next is the PlusProfilesEmailsRead.
  26. This is very similar to the Email scope,
    and
  27. it gives the same as the Email scope,
    except it also gives your app access to
  28. any public verified addresses that
    are in the user's Plus profile.
  29. For this example we're going
    to be using the Profile scope.