🔍 Code Extractor

Browse Components

Showing 20 of 2143 components

  • class SharePointClient

    A SharePoint client class that provides methods for connecting to SharePoint sites, retrieving documents recursively, downloading file content, and managing document metadata using app-only authentication.

    File: /tf/active/vicechatdev/SPFCsync/sharepoint_client.py | Lines: 11-173

    sharepoint document-management file-sync azure-ad authentication
  • function provide_admin_instructions

    Displays comprehensive administrative instructions for fixing SharePoint app-only authentication issues by loading configuration and presenting multiple resolution options.

    File: /tf/active/vicechatdev/SPFCsync/check_tenant_config.py | Lines: 173-217

    sharepoint admin-instructions troubleshooting authentication app-only-auth
  • function test_drive_items

    Tests access to items in a Microsoft SharePoint drive by querying the Microsoft Graph API and verifying the response.

    File: /tf/active/vicechatdev/SPFCsync/check_tenant_config.py | Lines: 143-171

    microsoft-graph-api sharepoint authentication api-testing drive-access
  • function test_site_drive_access

    Tests access to a SharePoint site's document library (drives) via Microsoft Graph API and attempts to access the first drive's root items.

    File: /tf/active/vicechatdev/SPFCsync/check_tenant_config.py | Lines: 110-141

    microsoft-graph sharepoint api-testing authentication document-library
  • function test_graph_sites_api

    Tests Microsoft Graph API access to SharePoint sites by attempting to list available sites and locate a specific target site (vicebio.com), then tests drive access if found.

    File: /tf/active/vicechatdev/SPFCsync/check_tenant_config.py | Lines: 69-108

    microsoft-graph sharepoint api-testing authentication oauth2
  • function test_graph_api_access

    Tests Microsoft Graph API access by obtaining an OAuth2 token and verifying connectivity to check tenant settings for SharePoint integration.

    File: /tf/active/vicechatdev/SPFCsync/check_tenant_config.py | Lines: 25-67

    microsoft-graph authentication oauth2 sharepoint azure-ad
  • function test_sharepoint_api_call

    Tests SharePoint REST API connectivity by making an authenticated GET request to retrieve basic site information and validates the access token and permissions.

    File: /tf/active/vicechatdev/SPFCsync/diagnose_sharepoint.py | Lines: 145-187

    sharepoint api-testing authentication oauth rest-api
  • function test_sharepoint_token

    Tests SharePoint OAuth2 authentication by acquiring an access token using client credentials flow and validates it with a SharePoint API call.

    File: /tf/active/vicechatdev/SPFCsync/diagnose_sharepoint.py | Lines: 79-143

    sharepoint oauth2 authentication azure-ad access-token
  • function test_azure_token

    Tests Azure AD authentication by attempting to acquire an OAuth2 access token using client credentials flow for Microsoft Graph API access.

    File: /tf/active/vicechatdev/SPFCsync/diagnose_sharepoint.py | Lines: 29-77

    azure authentication oauth2 access-token microsoft-graph
  • function search_and_locate

    Searches for specific numbered folders (01-08) in a SharePoint site and traces their locations, contents, and file distributions by type.

    File: /tf/active/vicechatdev/SPFCsync/search_detailed.py | Lines: 10-125

    sharepoint search diagnostic folder-discovery microsoft-graph
  • function test_filecloud_operations

    Tests FileCloud basic operations by creating a test folder to verify connectivity and authentication with a FileCloud server.

    File: /tf/active/vicechatdev/SPFCsync/test_connections.py | Lines: 91-114

    testing filecloud integration-test diagnostics cloud-storage
  • function test_sharepoint_listing

    Tests the SharePoint document listing functionality by connecting to a SharePoint site and retrieving all documents from a specified path.

    File: /tf/active/vicechatdev/SPFCsync/test_connections.py | Lines: 63-89

    testing sharepoint integration-test document-listing azure
  • function test_sharepoint_connection

    Tests the connection to a SharePoint site by attempting to instantiate a SharePointClient with Azure credentials and configuration settings.

    File: /tf/active/vicechatdev/SPFCsync/test_connections.py | Lines: 27-43

    sharepoint connection-test diagnostic azure authentication
  • function test_configuration

    A test function that validates configuration settings by importing and calling the Config.validate_config() method, printing the result and returning a boolean status.

    File: /tf/active/vicechatdev/SPFCsync/test_connections.py | Lines: 15-25

    testing configuration validation setup diagnostics
  • class SharePointRestClient

    A SharePoint REST API client that provides app-only authentication and methods for retrieving and downloading documents from SharePoint sites.

    File: /tf/active/vicechatdev/SPFCsync/sharepoint_rest_client.py | Lines: 7-236

    sharepoint rest-api oauth2 authentication document-management
  • function test_filecloud_integration

    Integration test function that verifies the SharePoint Graph API client works correctly with FileCloud synchronization service by creating a sync service instance and testing document retrieval.

    File: /tf/active/vicechatdev/SPFCsync/test_graph_client.py | Lines: 72-97

    integration-test sharepoint filecloud sync graph-api
  • function test_graph_client

    A test function that validates the SharePoint Graph API client by testing authentication, document listing, and file download capabilities.

    File: /tf/active/vicechatdev/SPFCsync/test_graph_client.py | Lines: 15-70

    testing sharepoint graph-api integration-test microsoft-graph
  • function test_rest_client

    A test function that validates the SharePoint REST API client by testing authentication, document listing, and file download capabilities.

    File: /tf/active/vicechatdev/SPFCsync/test_rest_client.py | Lines: 16-59

    testing sharepoint rest-api integration-test azure
  • function check_filecloud_structure

    Diagnostic function that checks the FileCloud server structure and verifies accessibility of various paths including root, SHARED, and configured base paths.

    File: /tf/active/vicechatdev/SPFCsync/check_filecloud_structure.py | Lines: 9-82

    diagnostic filecloud connectivity-check path-verification debugging
  • class SyncDiagnostics

    A diagnostic class that analyzes and reports on synchronization issues between SharePoint and FileCloud, identifying missing files and root causes of sync failures.

    File: /tf/active/vicechatdev/SPFCsync/deep_diagnostics.py | Lines: 20-264

    diagnostics sync-analysis sharepoint filecloud troubleshooting