search

Home  >  Q&A  >  body text

objective-c - Object C如何根据凭证下载文件

我的文件是保密的,用户下载需要根据 过期时间和token 下载。
我的应用是iOS App, 有没有示例代码,非常感谢!

PHP中文网PHP中文网2774 days ago449

reply all(2)I'll reply

  • 大家讲道理

    大家讲道理2017-04-28 09:08:26

    The download certificate needs to be generated by the server and then issued to the client. You can only obtain it through the backend, and it cannot be generated by the frontend

    reply
    0
  • PHPz

    PHPz2017-04-28 09:08:26

    I would like to ask your backend whether the time and token are given together or one by one... If they are given together, determine whether the timestamp is a positive number. If it is a positive number, download it from Qiniu with the token. If not, get the timestamp first. , get the token after judgment

    reply
    0
  • Cancelreply