Move refresh token back to auth account
Some checks failed
ci/woodpecker/push/go-generate Pipeline was successful
ci/woodpecker/push/dart-generate Pipeline was successful
ci/woodpecker/push/lint Pipeline failed
ci/woodpecker/push/js-generate Pipeline was successful
ci/woodpecker/push/repo-checks Pipeline was successful

Signed-off-by: Nikolai Rodionov <allanger@badhouseplants.net>
This commit is contained in:
2026-05-09 21:21:58 +02:00
parent 9a404e5f09
commit 50a2797157

View File

@@ -12,9 +12,6 @@ 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, it recieves the token in data,
// checks whether a session with this token exists and create a new one if yes
rpc RefreshToken (RefreshTokenRequest) returns (google.protobuf.Empty) {}
}
/**
@@ -24,6 +21,7 @@ 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 {