添加请求令牌策略。
If your registration is successful, you will get a consumer key, a consumer secret, and three URLs (the request token URL, access token URL, and authorize URL).
注册成功后,您将获得一个使用者密钥、使用者机密(secret)和3个URL(请求令牌url、访问令牌url和授权url)。
Once you have registered your application successfully, you will get a consumer key, a consumer secret, and three URLs (request token URL, access token URL, and authorize URL).
成功注册了应用程序后,您将获得一个使用者密钥、使用者机密和3 个URL(请求令牌URL、访问令牌 URL 和授权 URL)。
With this code in place, the server will check each request to verify that the Request-Token header exists and has the same value as the session ID.
这段代码就绪后,服务器将检查每个请求,验证Request - Token头部存在并拥有与会话id相同的值。
The server will assume that any requests that lack the correct value in the Request-Token header are CSRF attack attempts and will reject them.
服务器将假设Request - Token头部中缺乏正确的值的任何请求都是CSRF攻击企图并将拒绝它们。
The server will assume that any requests that lack the correct value in the Request-Token header are CSRF attack attempts and will reject them.
服务器将假设Request - Token头部中缺乏正确的值的任何请求都是CSRF攻击企图并将拒绝它们。
应用推荐