Google Openid 身份验证和域管理员身份识别

发布于 2024-09-06 21:08:23 字数 397 浏览 1 评论 0原文

我已经为我的网络应用程序(Ruby on Rails)实现了 Google OpenID 身份验证,现在一旦经过身份验证,我该如何获取该特定用户的状态?比如已通过身份验证的用户是否是域管理员?我在 google 上搜索了一下,并提出了 Google 配置 API 和 ClientLogin 身份验证过程....但如果是 Clientlogin 身份验证,则必须提供 [email protected] 加上函数中的密码...

我想知道的是,他们是否有一种方法知道经过 Openid 身份验证的人是一个域业主与否?

I have implemented Google openid authentication for my web application (ruby on rails) , now once authenticated how am i suppose to get the status of that particular user ? like if the user which has been authenticated is a domain admin or not ? i have googled it a bit and came up with Google provisioning ApI and ClientLogin authentication process.... but in case of Clientlogin authentication one has to provide [email protected] plus the password in the function...

In all i want to know, is their a way to know that a person authenticated by Openid is a domain owner or not ??

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

迷你仙 2024-09-13 21:08:24

根据 open-id 规范,这些是您可以从 open-id 提供商(例如:Google)检索的属性。
http://www.axschema.org/types/

According to the open-id specs these are the attributes you can retrieve from your open-id provider (Ex: Google).
http://www.axschema.org/types/

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文