app/core/security.py:36:def create_access_token(user_id: int, expires_minutes: Optional[int] = None) -> str:
app/core/security.py:40:        "exp": int(time.time()) + 60 * (expires_minutes or settings.ACCESS_TOKEN_EXPIRE_MINUTES),
app/core/security.py:102:            pipe.incr(window_key).expire(window_key, window * 2)
app/api/routers/auth.py:41:    response.set_cookie(
app/api/routers/auth.py:46:    response.set_cookie(
app/api/routers/auth.py:145:            raise HTTPException(400, "Invalid or expired OAuth state")
app/api/routers/auth.py:152:            raise HTTPException(400, "Invalid or expired OAuth state")
app/api/routers/auth.py:183:    expires_at = datetime.now(timezone.utc) + _td(seconds=int(tokens.get("expires_in", 3600)))
app/api/routers/auth.py:187:        account.token_expiry = expires_at
app/api/routers/auth.py:191:            account.oauth_token.expires_at = expires_at
app/api/routers/auth.py:198:                expires_at=expires_at,
app/api/routers/auth.py:205:            google_user_id=userinfo.get("sub", ""), token_expiry=expires_at,
app/api/routers/auth.py:212:            expires_at=expires_at,
