Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Retrieve a connection based on the provided app ID and shared flag.
Args: current_user (UserProfile): The currently authenticated user. session (Session): Database session dependency. appid (str): The application ID for the connection. shared (bool): Indicates if the connection is shared.
Returns: dict: The connection details, excluding sensitive fields.
Raises: HTTPException: If the connection cannot be found or processed.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.