From c4f7674ced823012826c42819ee65d270ada1d7e Mon Sep 17 00:00:00 2001 From: Sergey Krylov Date: Wed, 4 Feb 2026 05:53:58 +0300 Subject: [PATCH] feat: add refresh method --- proto/auth.proto | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/proto/auth.proto b/proto/auth.proto index 09a0609..67be843 100644 --- a/proto/auth.proto +++ b/proto/auth.proto @@ -5,6 +5,7 @@ package auth.v1; service AuthService { rpc SendOtp(SendOtpRequest) returns (SendOtpResponse); rpc VerifyOtp(VerifyOtpRequest) returns (VerifyOtpResponse); + rpc Refresh(RefreshRequest) returns (RefreshResponse); } message SendOtpRequest { @@ -27,3 +28,11 @@ message VerifyOtpResponse { string access_token = 1; string refresh_token = 2; } + +message RefreshRequest { + string refresh_token = 1; +} +message RefreshResponse { + string access_token = 1; + string refresh_token = 2; +}