OAuth 身份验证 [英] OAuth Authentication Iphone

查看:35
本文介绍了OAuth 身份验证的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在做一个 iPhone 应用程序,它需要实现 OAuth 2.0 协议,以便用户登录到特定网站.我有在网站上注册我的应用程序后获得的客户端 ID 和客户端密码.我想知道一些关于这个的事情.

I am doing an iPhone app which requires OAuth 2.0 protocol to be implemented for the login of the user to a particular website. I have the client id and client secret which i got after registering my application on the website. I would like to know a few things about this.

  1. 我看到了许多关于此的链接.但在我的脑海中,我不太确定我是否需要使用 OAuth 类或 OAuth 消费者类?

  1. I saw a number of links regarding this. But yet in my head I'm not very sure of whether i need to use OAuth classes or OAuth consumer classes?

是否可以在 OAuth 中对用户进行身份验证,而无需在查询字符串中发送用户的电子邮件 ID 和密码?

Is authentication of the user possible in OAuth without sending the email id and password of the user in a query string?

是否可以在 uiwebview 中加载网站并登录网站并获取用户凭据以使用更多屏幕功能.

Is is possible to load the website in a uiwebview and login to the website and get the user credentials for the further screen functionalities.

这是我正在开发的第一种此类应用.如果有人可以帮助我,这样我就可以清楚地知道我应该怎么做,那就太好了.

This is the first kind of such an app I'm developing. It would be great if someone could help me out so that i can know clearly how i should go about.

如果有任何使用 OAuth 实现登录网站的好教程,请分享.

if there any good tutorials for achieving Login to a website using OAuth please do share.

提前致谢

推荐答案

OAuth 规范和文档

iOS 上 OAuth 的 SDK

  • YToolkit(OAuth 1.0 和 2.0)

    (说到一个特定的网站",它有官方或第三方的iOS SDK吗?如果有,那么你不需要自己实现OAuth授权.)

    (Speaking of "a particular website", does it have official or third-party SDK for iOS? If yes then you don't need to implement OAuth authorization yourself.)

    这篇关于OAuth 身份验证的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆