API > @angular/common > @angular/common/http mode_edit code HttpXsrfTokenExtractor class Contents MethodsgetToken() Retrieves the current XSRF token to use with the next outgoing request. abstract class HttpXsrfTokenExtractor { abstract getToken(): string | null } abstract class HttpXsrfTokenExtractor { abstract getToken(): string | null } Methods getToken() mode_edit code Get the XSRF token to use with an outgoing request. abstract getToken(): string | null abstract getToken(): string | null Parameters There are no parameters. Returns string | null Will be called for every request, so the token may change between requests.