Linking npub through expirable tokens
This commit is contained in:
parent
df9cd69f41
commit
abffc5c6df
13 changed files with 4368 additions and 3910 deletions
|
|
@ -171,6 +171,13 @@ service LightningPub {
|
|||
option (http_method) = "get";
|
||||
option (http_route) = "/.well-known/lnurlp/:address_name";
|
||||
}
|
||||
|
||||
rpc LinkNPubThroughToken(structs.LinkNPubThroughTokenRequest) returns (structs.Empty) {
|
||||
option (auth_type) = "User";
|
||||
option(http_method) = "post";
|
||||
option (http_route) = "/api/guest/npub/link";
|
||||
option (nostr) = true;
|
||||
}
|
||||
//</Guest>
|
||||
|
||||
// <App>
|
||||
|
|
@ -237,6 +244,11 @@ service LightningPub {
|
|||
option (http_method) = "post";
|
||||
option (http_route) = "/api/app/mock/blance/set";
|
||||
}
|
||||
rpc RequestNPubLinkingToken(structs.RequestNPubLinkingTokenRequest) returns (structs.RequestNPubLinkingTokenResponse) {
|
||||
option (auth_type) = "App";
|
||||
option(http_method) = "post";
|
||||
option (http_route) = "/api/app/user/npub/token";
|
||||
}
|
||||
// </App>
|
||||
|
||||
// <User>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue