开发者

Handling log in and keeping tokens in iOS

开发者 https://www.devze.com 2023-04-13 06:17 出处:网络
I\'ve got a project proposal, and in the spec they want to allow the user to开发者_StackOverflow社区 log in. Thats ok for me, I\'ve done this a few times. On successful login they want a token to be d

I've got a project proposal, and in the spec they want to allow the user to开发者_StackOverflow社区 log in. Thats ok for me, I've done this a few times. On successful login they want a token to be downloaded where on subsequent use of the app in the next 30 days there user will not need to login again due to this token.

Is it safe to store a token on the device like this? Are there many security riskes to doing this? Any any method of handling this that you would recommend?

Many Thanks, Brian


Yes it's save as long as you save the token in the keychain.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号