3 Commits

Author SHA1 Message Date
b1e07a45e3 Add renovate.json 2024-09-11 14:17:48 +00:00
eb82a632ce Add an API to reset the password 2024-05-22 00:02:44 +02:00
165fe024d9 Add is email verified API 2024-05-22 00:02:44 +02:00
2 changed files with 15 additions and 0 deletions

View File

@ -11,8 +11,13 @@ service Accounts {
rpc SignUp (AccountWithPassword) returns (AccountFullWithToken) {}
rpc SignIn (AccountWithPassword) returns (AccountFullWithToken) {}
rpc ResetPassword (AccountData) returns (google.protobuf.Empty) {}
rpc NewPassword (AccountWithPasswordAndCode) returns (google.protobuf.Empty) {}
rpc IsEmailVerified (AccountData) returns (EmailVerified) {}
}
message EmailVerified {
bool verified = 1;
}
/**
* Represents a environment UUID only
*/
@ -35,6 +40,13 @@ message AccountWithPassword {
AccountPassword password = 2;
}
message AccountWithPasswordAndCode {
AccountData data = 1;
AccountPassword password = 2;
string code = 3;
}
message AccountFull {
AccountId id = 1;
AccountData data = 2;

3
renovate.json Normal file
View File

@ -0,0 +1,3 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json"
}