Linking npub through expirable tokens

This commit is contained in:
Mothana 2024-03-28 22:51:58 +04:00
parent df9cd69f41
commit abffc5c6df
13 changed files with 4368 additions and 3910 deletions

View file

@ -410,4 +410,21 @@ message ClosureMigration {
message RelaysMigration {
repeated string relays = 1;
}
}
message RequestNPubLinkingTokenRequest {
string user_identifier = 1;
}
message RequestNPubLinkingTokenResponse {
string token = 1;
}
message LinkNPubThroughTokenRequest {
string token = 1;
string nostr_pub = 2;
}