diff --git a/proto/accounts/v1/accounts_v1.proto b/proto/accounts/v1/accounts_v1.proto index 3b74389..2beeaa2 100644 --- a/proto/accounts/v1/accounts_v1.proto +++ b/proto/accounts/v1/accounts_v1.proto @@ -12,9 +12,6 @@ service AccountsNoAuthService { rpc SignIn (SignInRequest) returns (google.protobuf.Empty) {} // Create a new account rpc SignUp (SignUpRequest) returns (google.protobuf.Empty) {} - // RefreshToken doesn't use regular auth methods, it recieves the token in data, - // checks whether a session with this token exists and create a new one if yes - rpc RefreshToken (RefreshTokenRequest) returns (google.protobuf.Empty) {} } /** @@ -24,6 +21,7 @@ service AccountsNoAuthService { service AccountsAuthService { // Is email for the current account verified rpc IsEmailVerified (IsEmailVerifiedRequest) returns (IsEmailVerifiedResponse) {} + rpc RefreshToken (google.protobuf.Empty) returns (google.protobuf.Empty) {} } message AccountPassword {