Refresh token require auth
Some checks failed
Some checks failed
Signed-off-by: Nikolai Rodionov <allanger@badhouseplants.net>
This commit is contained in:
@@ -16,10 +16,6 @@ service AccountsNoAuthService {
|
||||
rpc ResetPassword (ResetPasswordRequest) returns (google.protobuf.Empty) {}
|
||||
// Set the new password after reset
|
||||
rpc NewPassword (NewPasswordRequest) returns (google.protobuf.Empty) {}
|
||||
// Send the refresh token request, token should be passed in the metadata.
|
||||
// This rpc does requier auth, but it should be handled not on the middleware level,
|
||||
// that's why it set in the NoAuth service
|
||||
rpc RefreshToken (google.protobuf.Empty) returns (google.protobuf.Empty) {}
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -29,6 +25,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 {
|
||||
|
||||
Reference in New Issue
Block a user