Xu ly SSO

This commit is contained in:
2026-05-09 10:31:28 +00:00
parent 9d04e7484c
commit f937d1a98e
21 changed files with 2515 additions and 271 deletions

View File

@@ -34,3 +34,29 @@ class BaseStorageProvider(ABC):
bytes: The raw file content.
"""
pass
@abstractmethod
def get_item_details(self, item_id: str) -> Dict:
"""
Get full item details including webUrl and downloadUrl.
Args:
item_id (str): The item ID from fetch_changes.
Returns:
Dict: Full item details with links.
"""
pass
@abstractmethod
def get_item_permissions(self, item_id: str) -> List[str]:
"""
Get permissions for an item. Returns list of user/group emails or IDs.
Args:
item_id (str): The item ID from fetch_changes.
Returns:
List[str]: List of user/group identifiers. ["*"] means everyone can access.
"""
pass