We develop an encounter-based approach for describing restricted diffusion with a gradient drift towards a partially reactive boundary. For this purpose, we introduce an extension of the Dirichlet-to-Neumann operator and use its eigenbasis to derive a spectral decomposition for the full propagator, i.e., the joint probability density function for the particle position and its boundary local time. This is the central quantity that determines various characteristics of diffusion-influenced reactions such as conventional propagators, survival probability, first-passage time distribution, boundary local time distribution, and reaction rate. As an illustration, we investigate the impact of a constant drift onto the boundary local time for restri...