Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions proto/entity/user/v1/user.proto
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,5 @@ message User {
string fullname = 4;
common.core.v1.MediaReference profile_picture = 5;
bool is_verified = 6;
string hashed_phone_number = 7;
}
19 changes: 19 additions & 0 deletions proto/public/auth/v2/token_service.proto
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
syntax = "proto3";
package public.auth.v2;

message RefreshTokenRequest {
string refresh_token = 1;
string aud = 2;
string client_secret = 3;
}

message RefreshTokenRequest {
string token_type = 1;
string access_token = 2;
int32 duration = 3;
string refresh_token = 4;
}

service TokenService {
rpc RefreshToken (RefreshTokenRequest) returns (RefreshTokenResponse);
}
3 changes: 1 addition & 2 deletions proto/search/frontend/v1/search_service.proto
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@ import "common/core/v1/cursor.proto";
message SearchUsersRequest {
string query = 1;
int32 limit = 2;
bool exclude_verified = 3;
bool exclude_unverified = 4;
repeated int32 scopes = 3;
}

message SearchUsersResponse {
Expand Down