2013-11-15 24 views
0

我正在开发玻璃器皿,我需要一些关于用户登录过程的建议。 我目前使用此作用域:谷歌登录没有安装玻璃器皿

SCOPES = ('https://www.googleapis.com/auth/glass.timeline ' 
     'https://www.googleapis.com/auth/glass.location ' 
     'https://www.googleapis.com/auth/plus.login ' 
     'https://www.googleapis.com/auth/plus.me ' 
     'https://www.googleapis.com/auth/userinfo.profile https://www.googleapis.com/auth/userinfo.email') 

为了让用户登录和安装的玻璃器皿。 现在把我关闭注册的情况,但我想给已经注册的用户一种方式登录他/她的偏好。 我该怎么办? 通过使用相同范围的登录链接,我还允许非注册用户将玻璃器皿添加到他们的帐户。

在此先感谢

回答

1

您所储存的关​​于您的服务器后端的已注册用户的信息?

如果是这样,您可以在用户登录后检查该列表,并且只允许已注册的用户访问其他服务。