1
0
Fork 0
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:
Roman Khafizianov 2025-05-17 02:04:51 +02:00
parent a97a805cf8
commit f4de318402
No known key found for this signature in database
GPG key ID: F07A7D55A2684852
13 changed files with 6558 additions and 2854 deletions

File diff suppressed because it is too large Load diff

View file

@ -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