• Overview
@angular/common/http

HttpXsrfTokenExtractor

Class

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

  
    abstract class HttpXsrfTokenExtractor {}
  
  

getToken

string | null

Get the XSRF token to use with an outgoing request.

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

@returnsstring | null
Jump to details