Swift iOS应用程序到REST PHP API - 身份验证的最佳实践是什么？
I'm in the process of building a iOS mobile application in Swift. I have a RESTFUL API written in PHP which communicates between the mobile application and a database. Everything is working perfectly.
The problem I've got is, I don't know what the best practice is for authentication. I eventually want users to sign up for an account on my application, but I'd like to have the user enter login credentials as little as possible, so some kind of authentication/authorisation key would be preferred.
I see so many different recommendations when I've looked for an answer, yet can't seem to find a tutorial or set of tutorials that cover what I need.
Can you guys link me some sources on how I'd go about achieving the above?
- Swift iOS应用程序到REST PHP API - 身份验证的最佳实践是什么？