feat: add geography entities with countries, states and cities
This commit is contained in:
@@ -61,6 +61,12 @@ service UserContract
|
||||
body: "*"
|
||||
};
|
||||
};
|
||||
rpc RefreshToken(RefreshTokenRequest) returns (RefreshTokenResponse){
|
||||
option (google.api.http) = {
|
||||
post: "/RefreshToken"
|
||||
body: "*"
|
||||
};
|
||||
};
|
||||
}
|
||||
message CreateNewUserRequest
|
||||
{
|
||||
@@ -191,3 +197,13 @@ message SetPasswordForUserRequest
|
||||
string new_password = 3;
|
||||
string confirm_password = 4;
|
||||
}
|
||||
message RefreshTokenRequest
|
||||
{
|
||||
string current_token = 1;
|
||||
}
|
||||
message RefreshTokenResponse
|
||||
{
|
||||
string token = 1;
|
||||
bool success = 2;
|
||||
string message = 3;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user