mirror of
https://github.com/anyproto/anytype-heart.git
synced 2025-06-09 09:35:00 +09:00
GO-5629 RPCs added: AccountLocalLinkCreateApp,List,Revoke
introduce new format for AppLink
This commit is contained in:
parent
a97a805cf8
commit
f4de318402
13 changed files with 6558 additions and 2854 deletions
File diff suppressed because it is too large
Load diff
|
@ -677,6 +677,15 @@ message Account {
|
|||
}
|
||||
|
||||
message Auth {
|
||||
message AppInfo {
|
||||
string appHash = 1;
|
||||
string appName = 2; // just for info, not secure to rely on
|
||||
string appPath = 3; // for now, it is not verified
|
||||
int64 createdAt = 4;
|
||||
int64 expireAt = 5;
|
||||
LocalApiScope scope = 6;
|
||||
bool isActive = 7;
|
||||
}
|
||||
enum LocalApiScope {
|
||||
Limited = 0; // Used in WebClipper; AccountSelect(to be deprecated), ObjectSearch, ObjectShow, ObjectCreate, ObjectCreateFromURL, BlockPreview, BlockPaste, BroadcastPayloadEvent
|
||||
JsonAPI = 1; // JSON API only, no direct grpc api calls allowed
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue