doqp87012 2013-02-06 15:00
浏览 34
已采纳

验证对API的访问权限

I'm trying to make my First API, I never did and API before. I did read a couple of documentations but couldn't find something simple enough to describe the authentication process.

How do I authenticate a user through an API? like how can I give app developers a way so that they make a login form that grants their users access to their info on my database, and for me to provide data based on the user logged in.

I'm confused with the idea of authenticating users through an API, how can they send they passwords securely?

  • 写回答

2条回答 默认 最新

  • dongqiaogouk86049 2013-02-06 15:15
    关注

    Perhaps you should take a look to oauth, that's the way twitter works, for example.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(1条)

报告相同问题?