Coder Social home page Coder Social logo

Comments (8)

carsonxu avatar carsonxu commented on July 22, 2024

COS用什么SDK?

from qcloud-cos-sts-sdk.

huangyanting avatar huangyanting commented on July 22, 2024

Java

from qcloud-cos-sts-sdk.

konakonall avatar konakonall commented on July 22, 2024

请问需求是什么?现在返回的开始时间是通过计算得到的准确时间。

from qcloud-cos-sts-sdk.

huangyanting avatar huangyanting commented on July 22, 2024

返回服务器时间作为签名的开始时间,用来避免由于用户手机本地时间偏差过大导致的签名不正确。

from qcloud-cos-sts-sdk.

carsonxu avatar carsonxu commented on July 22, 2024

如果手机使用了 cos-js-sdk-v5 可以配置存储桶 CORS 的 ExposeHeader 增加 Date。就会自动校正时间。

from qcloud-cos-sts-sdk.

huangyanting avatar huangyanting commented on July 22, 2024

能否从客户端传入客户端时间戳,服务端根据这个开始时间去定临时密钥

from qcloud-cos-sts-sdk.

carsonxu avatar carsonxu commented on July 22, 2024

是否在用 cos-js-sdk-v5 上传文件?实例化的时候传入 SystemClockOffset 参数就可以,是偏移值,单位毫秒

from qcloud-cos-sts-sdk.

konakonall avatar konakonall commented on July 22, 2024

@huangyanting 现在SDK返回的startTime,就是服务器的开始时间。客户端如果时间有偏差,可以做本地校准。

from qcloud-cos-sts-sdk.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.