logout

context(_: Raise<Issue>, req: Request)
fun logout(): Cookie

Shared logic to logout by revoking the refresh token and clearing the cookie.


context(_: Raise<Issue>)
fun logout(refreshToken: String)

Revokes the given refresh token.