manage authorization
This commit is contained in:
parent
819cf74d2f
commit
df088bf0fe
18 changed files with 623 additions and 56 deletions
|
|
@ -674,6 +674,22 @@ message DebitAuthorizationRequest {
|
|||
optional string request_id = 3;
|
||||
}
|
||||
|
||||
message ManageAuthorizationRequest {
|
||||
string authorize_npub = 1;
|
||||
optional string request_id = 2;
|
||||
bool ban = 3;
|
||||
}
|
||||
|
||||
message ManageAuthorization {
|
||||
string manage_id = 1;
|
||||
bool authorized = 2;
|
||||
string npub = 3;
|
||||
}
|
||||
|
||||
message ManageAuthorizations {
|
||||
repeated ManageAuthorization manages = 1;
|
||||
}
|
||||
|
||||
message DebitAuthorization {
|
||||
string debit_id = 1;
|
||||
bool authorized = 2;
|
||||
|
|
@ -718,6 +734,11 @@ message LiveDebitRequest {
|
|||
}
|
||||
}
|
||||
|
||||
message LiveManageRequest {
|
||||
string request_id = 1;
|
||||
string npub = 2;
|
||||
}
|
||||
|
||||
message DebitResponse {
|
||||
string request_id = 1;
|
||||
string npub = 2;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue