填写这份《一分钟调查》,帮我们(开发组)做得更好!去填写Home

HttpXsrfTokenExtractor

检索当前的 XSRF 令牌以用于下一个传出请求。

Retrieves the current XSRF token to use with the next outgoing request.

      
      abstract class HttpXsrfTokenExtractor {
  abstract getToken(): string | null
}
    

Provided in

方法

获取 XSRF 令牌以用于传出请求。

Get the XSRF token to use with an outgoing request.

      
      abstract getToken(): string | null
    
参数

没有参数。

返回值

string | null

在每个请求中都会被调用,因此该令牌可能会在请求之间更改。

Will be called for every request, so the token may change between requests.