HttpXsrfTokenExtractor

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

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

方法

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.