oauth2  v2
Static Public Attributes | List of all members
google_oauth2_api::Oauth2Service::SCOPES Class Reference

#include <oauth2_service.h>

Static Public Attributes

static const char USERINFO_EMAIL [] = {"https://www.googleapis.com/auth/userinfo.email"}
 
static const char USERINFO_PROFILE [] = {"https://www.googleapis.com/auth/userinfo.profile"}
 
static const char OPENID [] = {"openid"}
 

Detailed Description

Declares the OAuth2.0 scopes used within Google OAuth2 API

These scopes shoudl be used when asking for credentials to invoke methods in the Oauth2Service.

Member Data Documentation

◆ OPENID

const char google_oauth2_api::Oauth2Service::SCOPES::OPENID = {"openid"}
static

Associate you with your personal info on Google.

◆ USERINFO_EMAIL

const char google_oauth2_api::Oauth2Service::SCOPES::USERINFO_EMAIL = {"https://www.googleapis.com/auth/userinfo.email"}
static

View your email address.

◆ USERINFO_PROFILE

const char google_oauth2_api::Oauth2Service::SCOPES::USERINFO_PROFILE = {"https://www.googleapis.com/auth/userinfo.profile"}
static

See your personal info, including any personal info you've made publicly available.


The documentation for this class was generated from the following files: