Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 0 additions & 9 deletions azure-quantum/azure/quantum/_authentication/__init__.py

This file was deleted.

119 changes: 0 additions & 119 deletions azure-quantum/azure/quantum/_authentication/_chained.py

This file was deleted.

153 changes: 0 additions & 153 deletions azure-quantum/azure/quantum/_authentication/_default.py

This file was deleted.

83 changes: 0 additions & 83 deletions azure-quantum/azure/quantum/_authentication/_token.py

This file was deleted.

9 changes: 3 additions & 6 deletions azure-quantum/azure/quantum/_workspace_connection_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
)
from azure.core.credentials import AzureKeyCredential
from azure.core.pipeline.policies import AzureKeyCredentialPolicy
from azure.quantum._authentication import _DefaultAzureCredential
from azure.identity import DefaultAzureCredential
from azure.quantum._constants import (
EnvironmentKind,
EnvironmentVariables,
Expand Down Expand Up @@ -403,13 +403,10 @@ def _merge_connection_params(
def get_credential_or_default(self) -> Any:
"""
Get the credential if one was set,
or defaults to a new _DefaultAzureCredential.
or defaults to a new DefaultAzureCredential.
"""
return (self.credential
or _DefaultAzureCredential(
subscription_id=self.subscription_id,
arm_endpoint=self.arm_endpoint,
tenant_id=self.tenant_id))
or DefaultAzureCredential())

def get_auth_policy(self) -> Any:
"""
Expand Down
Loading
Loading