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. |
参数没有参数。 返回值
|
在每个请求中都会被调用,因此该令牌可能会在请求之间更改。 Will be called for every request, so the token may change between requests. |