Skip to content

Commit

Permalink
Corrected _CertificatePrivateCloudAppCredentials
Browse files Browse the repository at this point in the history
  • Loading branch information
Tracy Boehrer committed Jul 1, 2024
1 parent 3e5743a commit a2cea0d
Showing 1 changed file with 12 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,8 @@ async def create_credentials(
else:
credentials = _CertificatePrivateCloudAppCredentials(
app_id,
self.password,
self.certificate_thumbprint,
self.certificate_private_key,
self.tenant_id,
oauth_scope,
login_endpoint,
Expand All @@ -102,14 +103,21 @@ class _CertificatePrivateCloudAppCredentials(CertificateAppCredentials):
def __init__(
self,
app_id: str,
password: str,
tenant_id: str,
certificate_thumbprint: str,
certificate_private_key: str,
channel_auth_tenant: str,
oauth_scope: str,
certificate_public: str,
oauth_endpoint: str,
validate_authority: bool,
):
super().__init__(
app_id, password, channel_auth_tenant=tenant_id, oauth_scope=oauth_scope
app_id,
certificate_thumbprint,
certificate_private_key,
channel_auth_tenant,
oauth_scope,
certificate_public,
)

self.oauth_endpoint = oauth_endpoint
Expand Down

0 comments on commit a2cea0d

Please sign in to comment.