diff options
-rw-r--r-- | api/proto/idb/user/v1/user.proto | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/api/proto/idb/user/v1/user.proto b/api/proto/idb/user/v1/user.proto index d2048a8..8a2f0bc 100644 --- a/api/proto/idb/user/v1/user.proto +++ b/api/proto/idb/user/v1/user.proto @@ -22,6 +22,7 @@ service UserService { rpc UpdateUser(UpdateUserRequest) returns (UpdateUserResponse); rpc CheckIBDUsername(CheckIBDUsernameRequest) returns (CheckIBDUsernameResponse); + rpc AuthenticateUser(AuthenticateUserRequest) returns (AuthenticateUserResponse); } message CreateUserRequest { @@ -56,3 +57,11 @@ message CheckIBDUsernameRequest { message CheckIBDUsernameResponse { bool exists = 1; } + +message AuthenticateUserRequest { + string subject = 1; +} + +message AuthenticateUserResponse { + bool authenticated = 1; +} |