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