# Any way to manipulate yada.security/verify ctx?

**URL:** https://clojureverse.org/t/any-way-to-manipulate-yada-security-verify-ctx/8295
**Category:** How to?
**Tags:** clojure, security
**Created:** [October 22, 2021, 12:38pm UTC](https://clojureverse.org/t/any-way-to-manipulate-yada-security-verify-ctx/8295 "2021-10-22T12:38:07Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![tomekw](https://clojureverse.org/user_avatar/clojureverse.org/tomekw/32/3080_2.png) [@tomekw](https://clojureverse.org/u/tomekw)
#### Post date: [October 22, 2021, 12:38pm UTC](https://clojureverse.org/t/any-way-to-manipulate-yada-security-verify-ctx/8295/1 "2021-10-22T12:38:07Z")

</div>

I’ve a `yada.security/verify` multimethod implementation that checks and verifies JWT auth token from a session cookie. The multimethod accepts `ctx` and the auth `scheme` parameters. I would like to manipulate the `ctx` to set a new session cookie with a new token. But I guess that’s not the correct way to do it.

I feel like I would need something like an “around filter”. Are there any yada gurus willing to help me out on this? Thanks!

---

<div class="post-metadata">

### Author: ![system](https://clojureverse.org/uploads/default/original/2X/5/51079bf9e4b7d9466242c06cf1e43b9f8bd6da14.png) [@system](https://clojureverse.org/u/system)
#### Post date: [April 23, 2022, 12:39am UTC](https://clojureverse.org/t/any-way-to-manipulate-yada-security-verify-ctx/8295/2 "2022-04-23T00:39:05Z")

</div>

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.
