syntax = "proto3"; package auth.v1; service AuthService { rpc SendOtp(SendOtpRequest) returns (SendOtpResponse); rpc VerifyOtp(VerifyOtpRequest) returns (VerifyOtpResponse); } message SendOtpRequest { string identifier = 1; string type = 2; } message SendOtpResponse { bool ok = 1; } message VerifyOtpRequest { string identifier = 1; string type = 2; string code = 3; } message VerifyOtpResponse { string access_token = 1; string refresh_token = 2; }