REST Auth的Cocoa Base 64实现 [英] Cocoa Base 64 Implementation for REST Auth

查看:121
本文介绍了REST Auth的Cocoa Base 64实现的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我可以使用一个干净的,工作的base64实现来通过HTTP授权REST协议。任何人都可以帮助我或者指向我方向?



感谢。

解决方案

为你这样做。在高级别,Cocoa提供NSURLConnection,它将执行HTTP身份验证。如果没有,CFHTTP API提供较低级别的访问。


I could use a clean, working, base64 implementation for the purpose of authorization over HTTP for a REST protocol.

Can anybody help me out or point me in a direction?

Thanks.

解决方案

There should be absolutely no need for you to do this. At a high level, Cocoa provides NSURLConnection which will do HTTP authentication. If not, the CFHTTP APIs provide lower-level access.

这篇关于REST Auth的Cocoa Base 64实现的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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