diff --git a/proto/accounts/v1/accounts_v1.proto b/proto/accounts/v1/accounts_v1.proto index 200ac3b..27c0349 100644 --- a/proto/accounts/v1/accounts_v1.proto +++ b/proto/accounts/v1/accounts_v1.proto @@ -12,6 +12,8 @@ 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 + rpc RefreshToken (RefreshTokenRequest) returns (google.protobuf.Empty) {} } /** @@ -21,7 +23,6 @@ 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 { @@ -60,3 +61,7 @@ message IsEmailVerifiedRequest { message IsEmailVerifiedResponse { bool verified = 1; } + +message RefreshTokenRequest { + string session_id = 1; +}