Implement Internal Auth #5

Merged
allanger merged 10 commits from implement-internal-auth into main 2026-05-08 19:17:07 +00:00
Showing only changes of commit 9d5d53b696 - Show all commits

View File

@@ -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;
}