INNER CODE UNIT · Python
unset_refresh_cookies
yezz123/authx · authx/main.py:644
def unset_refresh_cookies(
self,
response: Response,
) -> None:
"""Remove 'Set-Cookie' for refresh token in response header.
Args:
response (Response): response to remove cooke from
"""
self._unset_cookies("refresh", response=response)
def unset_cookies(
self,
response: Response,
) -> None:
"""Remove 'Set-Cookie' for tokens from response headers.
Args: