(hash string)
| 39 | } |
| 40 | |
| 41 | func patCacheKey(hash string) string { return patCachePrefix + hash } |
| 42 | |
| 43 | // Get returns the cached user_id for a token hash. ok=false on cache miss |
| 44 | // or any Redis error — a dead Redis must not take down auth. |
no outgoing calls