🔍 Code Extractor

Search Components

Full-Text: Fast keyword matching | Semantic: AI-powered understanding of intent (finds similar concepts)

Search Results for "redirect"

Found 41 matching component(s)

  • class pathobrowser_base

    Base class that contains all static elements of the app Parameters ---------- image : str An Image UID which may be passed on app startup. Immediately redirects to said image Attributes ---------- current_user : Userclass A class containing various information on the user workspace : panel.layout.Column The main container of the app sidebar : panel.layout.Column Container showing items on the side of the app head : panel.layout.Row The header of the app modal : panel.layout.Column The container for the modal window of the app

    File: /tf/active/vicechatdev/datacapture_integrated.py

    class pathobrowser_base
  • class pathobrowser_base_v1

    Base class that contains all static elements of the app Parameters ---------- image : str An Image UID which may be passed on app startup. Immediately redirects to said image Attributes ---------- current_user : Userclass A class containing various information on the user workspace : panel.layout.Column The main container of the app sidebar : panel.layout.Column Container showing items on the side of the app head : panel.layout.Row The header of the app modal : panel.layout.Column The container for the modal window of the app

    File: /tf/active/vicechatdev/datacapture.py

    class pathobrowser_base
  • function main_v35

    Interactive CLI helper function that generates and displays instructions for granting SharePoint app permissions to an Azure AD application.

    File: /tf/active/vicechatdev/SPFCsync/grant_sharepoint_access.py

    sharepoint azure-ad permissions cli-helper configuration
  • function login_required

    A Flask decorator that enforces authentication requirements on routes by checking for user session data and redirecting unauthenticated users to the login page.

    File: /tf/active/vicechatdev/docchat/app.py

    authentication decorator flask security session-management
  • function login

    Flask route handler that renders the login page for user authentication, with support for Azure SSO integration and automatic redirection for authenticated users or when authentication is disabled.

    File: /tf/active/vicechatdev/docchat/app.py

    authentication login flask-route session-management azure-sso
  • function azure_callback

    OAuth 2.0 callback endpoint for Azure AD authentication that exchanges authorization codes for access tokens and establishes user sessions.

    File: /tf/active/vicechatdev/docchat/app.py

    oauth authentication azure-ad callback session-management
  • function logout

    Flask route handler that logs out the current user by clearing their session and redirecting them to either the login page or index page based on authentication requirements.

    File: /tf/active/vicechatdev/docchat/app.py

    authentication logout session-management flask-route user-management
  • class DocumentProcessor_v3

    Handles document processing and text extraction using llmsherpa (same approach as offline_docstore_multi_vice.py).

    File: /tf/active/vicechatdev/docchat/document_processor.py

    class documentprocessor
  • class AzureSSO

    A class that handles Azure Active Directory (Azure AD) Single Sign-On (SSO) authentication using OAuth 2.0 authorization code flow.

    File: /tf/active/vicechatdev/docchat/auth/azure_auth.py

    azure authentication sso oauth2 azure-ad
  • function setup_azure_sso_v1

    Initializes and configures an Azure SSO (Single Sign-On) instance by loading credentials and settings from a configuration module.

    File: /tf/active/vicechatdev/docchat/auth/azure_auth.py

    azure sso authentication oauth azure-ad
  • function explore_documents

    Explores and tests document accessibility across multiple FileCloud directory paths, attempting to download and validate document content from various locations in a hierarchical search pattern.

    File: /tf/active/vicechatdev/contract_validity_analyzer/explore_documents.py

    filecloud document-exploration diagnostic file-search pdf-validation
  • function require_auth_v1

    A Flask decorator that enforces authentication by checking if a user is authenticated before allowing access to a protected route, redirecting to login if not authenticated.

    File: /tf/active/vicechatdev/vice_ai/complex_app.py

    authentication decorator flask authorization security
  • function index_v4

    Flask route handler for the root URL ('/') that redirects authenticated users to the document workspace and unauthenticated users to the login page.

    File: /tf/active/vicechatdev/vice_ai/complex_app.py

    flask routing authentication redirect web-application
  • function login_v3

    Flask route handler that displays the login page and redirects authenticated users to the document workspace.

    File: /tf/active/vicechatdev/vice_ai/complex_app.py

    authentication login flask-route azure-sso web-application
  • function auth_callback

    OAuth callback handler that processes Azure SSO authentication responses, exchanges authorization codes for access tokens, and establishes user sessions.

    File: /tf/active/vicechatdev/vice_ai/complex_app.py

    oauth authentication azure-sso callback flask-route
  • function logout_v2

    Flask route handler that logs out the current user by clearing their session data and redirecting them to the login page.

    File: /tf/active/vicechatdev/vice_ai/complex_app.py

    authentication logout session-management flask web-route
  • class ScriptExecutor

    A sandboxed Python script executor that safely runs user-provided Python code with timeout controls, security restrictions, and isolated execution environments for data analysis tasks.

    File: /tf/active/vicechatdev/vice_ai/script_executor.py

    sandbox script-execution security code-validation data-analysis
  • function index_v3

    Flask route handler that serves as the application's main entry point, redirecting users to either the chat page if authenticated or the login page if not.

    File: /tf/active/vicechatdev/vice_ai/app.py

    flask routing authentication redirect web-application
  • function login_v2

    Flask route handler that displays the login page and redirects authenticated users to the chat interface.

    File: /tf/active/vicechatdev/vice_ai/app.py

    authentication login flask azure-sso web-route
  • function auth_callback_v2

    Flask route handler that processes OAuth 2.0 callback from Azure AD, exchanges authorization code for access tokens, and establishes user session.

    File: /tf/active/vicechatdev/vice_ai/app.py

    oauth authentication azure-ad callback flask-route
  • function chat_v1

    Flask route handler that renders the main chat interface with available collections and instruction templates, requiring authentication.

    File: /tf/active/vicechatdev/vice_ai/app.py

    flask web-route chat-interface authentication template-rendering
  • function require_auth

    A decorator function that enforces authentication requirements on Flask route handlers by checking if a user is authenticated before allowing access to the decorated function.

    File: /tf/active/vicechatdev/vice_ai/new_app.py

    decorator authentication authorization flask security
  • function login_v1

    Flask route handler that manages user authentication by redirecting authenticated users to the index page, initiating Azure SSO login for production, or creating a development session for local testing.

    File: /tf/active/vicechatdev/vice_ai/new_app.py

    authentication login azure-sso flask-route session-management
  • function logout_v1

    Flask route handler that logs out the current user by clearing their session data and redirecting them to the login page.

    File: /tf/active/vicechatdev/vice_ai/new_app.py

    authentication logout session-management flask-route web-security
  • function auth_callback_v1

    OAuth2 callback handler for Azure SSO authentication that processes authorization codes, exchanges them for access tokens, and establishes user sessions.

    File: /tf/active/vicechatdev/vice_ai/new_app.py

    authentication oauth2 azure-sso callback session-management
  • function index

    Flask route handler that serves as the main landing page for authenticated users, displaying their documents and text sections in a workspace interface.

    File: /tf/active/vicechatdev/vice_ai/new_app.py

    flask route-handler authentication web-application index-page
  • function smartstat_workspace

    Flask route handler that opens a SmartStat statistical analysis workspace for a specific data section, managing session creation, data restoration, and access control.

    File: /tf/active/vicechatdev/vice_ai/new_app.py

    flask-route web-handler statistical-analysis session-management data-restoration
  • function smartstat_save_selective

    Flask route handler that saves selected statistical analysis rounds and their associated plots from a SmartStat session to a data section, with options to replace or append to existing content.

    File: /tf/active/vicechatdev/vice_ai/new_app.py

    flask-route api-endpoint smartstat data-persistence statistical-analysis
  • function smartstat_save_to_document

    Flask route handler that saves SmartStat statistical analysis results back to a data section document, generating a final report with queries, results, and plots.

    File: /tf/active/vicechatdev/vice_ai/new_app.py

    flask api-endpoint smartstat statistical-analysis document-management
  • class AzureSSO_v1

    A class that handles Azure Active Directory (Azure AD) Single Sign-On (SSO) authentication using OAuth 2.0 authorization code flow.

    File: /tf/active/vicechatdev/vice_ai/auth/azure_auth.py

    azure authentication sso oauth2 azure-ad
  • class ControlledDocumentFlaskApp

    Main Flask application class for Controlled Document Management System.

    File: /tf/active/vicechatdev/CDocs/main_flask.py

    class controlleddocumentflaskapp
  • class ControlledDocumentApp

    Main application class for the Controlled Document Management System. This class initializes all components and provides the main Panel interface for the application. It is designed to be served via `panel serve` command and integrates with the existing datacapture application.

    File: /tf/active/vicechatdev/CDocs/main.py

    class controlleddocumentapp
  • function process_auth_code

    Processes OAuth authorization codes from POST requests, exchanges them for access tokens via Azure SSO, and authenticates users into the application.

    File: /tf/active/vicechatdev/CDocs/main.py

    authentication oauth azure-sso authorization-code token-exchange
  • class SSOCallbackHandler

    A Tornado RequestHandler that processes OAuth 2.0 callbacks from Azure AD, exchanges authorization codes for access tokens, validates user identity, and sets authentication cookies for SSO integration.

    File: /tf/active/vicechatdev/CDocs/sso_plugin.py

    oauth azure-ad sso authentication tornado
  • class AzureSSO_v2

    A class that handles Azure Active Directory (Azure AD) Single Sign-On (SSO) authentication using OAuth 2.0 authorization code flow.

    File: /tf/active/vicechatdev/CDocs/auth/azure_auth.py

    authentication azure azure-ad sso oauth2
  • function setup_azure_sso

    Initializes and configures an Azure SSO (Single Sign-On) instance by retrieving credentials from environment variables or settings, with fallback to MS365 configuration values.

    File: /tf/active/vicechatdev/CDocs/auth/azure_auth.py

    authentication azure sso oauth2 active-directory
  • class ScriptExecutor_v1

    A sandboxed Python script executor that safely runs user-provided Python code with timeout controls, security restrictions, and isolated execution environments for data analysis tasks.

    File: /tf/active/vicechatdev/full_smartstat/script_executor.py

    sandbox security script-execution code-execution timeout
  • function view_session

    Flask route handler that retrieves and displays an analysis session by its ID, rendering the session details in a template or redirecting on error.

    File: /tf/active/vicechatdev/full_smartstat/app.py

    flask web-route session-management view-handler error-handling
  • function list_sessions

    Flask route handler that retrieves and displays a list of recent analysis sessions from the analysis service.

    File: /tf/active/vicechatdev/full_smartstat/app.py

    flask web-route session-management error-handling template-rendering
  • function analysis_workspace

    Flask route handler that renders an analysis workspace interface for a given session, displaying session summary and generated files in a VS Code-like environment.

    File: /tf/active/vicechatdev/full_smartstat/app.py

    flask web-route workspace session-management error-handling
  • class RootHandler

    A custom Tornado request handler that extends Bokeh's RootHandler to handle root URL requests with authentication and conditional redirection based on index file extensions.

    File: /tf/active/vicechatdev/patches/server.py

    tornado bokeh web-handler authentication routing

Search Examples