buildClearRefreshCookieHeader method

SetCookie buildClearRefreshCookieHeader({
  1. String? path,
})

A Set-Cookie that expires (removes) the JWT refresh cookie. path must match the path the cookie was set with.

Implementation

SetCookie buildClearRefreshCookieHeader({String? path}) =>
    _build(refreshName, '', maxAge: 0, path: path);