Skip to content
Closed
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
10 changes: 6 additions & 4 deletions sdk/identity/azure-identity/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# Release History

## 1.10.0b2 (Unreleased)

### Features Added
## 1.10.0 (2022-04-21)

### Breaking Changes

### Bugs Fixed
> These changes do not impact the API of stable versions such as 1.9.0.
> Only code written against a beta version such as 1.10.0b1 may be affected.
- `validate_authority` support is not available in 1.10.0.

### Other Changes

Expand All @@ -26,6 +26,8 @@

### Breaking Changes

> These changes do not impact the API of stable versions such as 1.8.0.
> Only code written against a beta version such as 1.9.0b1 may be affected.
- `validate_authority` support is not available in 1.9.0.

### Bugs Fixed
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ class MsalCredential(object):
def __init__(self, client_id, client_credential=None, **kwargs):
# type: (str, Optional[Union[str, Dict]], **Any) -> None
authority = kwargs.pop("authority", None)
self._validate_authority = kwargs.pop("validate_authority", True)
# self._validate_authority = kwargs.pop("validate_authority", True)
self._authority = normalize_authority(authority) if authority else get_default_authority()
self._regional_authority = os.environ.get(EnvironmentVariables.AZURE_REGIONAL_AUTHORITY_NAME)
self._tenant_id = kwargs.pop("tenant_id", None) or "organizations"
Expand Down Expand Up @@ -73,7 +73,7 @@ def _get_app(self, **kwargs):
azure_region=self._regional_authority,
token_cache=self._cache,
http_client=self._client,
validate_authority=self._validate_authority
# validate_authority=self._validate_authority
)

return self._client_applications[tenant_id]
2 changes: 1 addition & 1 deletion sdk/identity/azure-identity/azure/identity/_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.
# ------------------------------------
VERSION = "1.10.0b2"
VERSION = "1.10.0"
4 changes: 2 additions & 2 deletions sdk/identity/azure-identity/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
author_email="[email protected]",
url="https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/identity/azure-identity",
classifiers=[
"Development Status :: 4 - Beta",
"Development Status :: 5 - Production/Stable",
"Programming Language :: Python",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3",
Expand All @@ -76,7 +76,7 @@
"azure-core<2.0.0,>=1.11.0",
"cryptography>=2.5",
"msal<2.0.0,>=1.12.0",
"msal-extensions~=1.0.0",
"msal-extensions<2.0.0,>=1.0.0",
"six>=1.12.0",
],
)
2 changes: 1 addition & 1 deletion shared_requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ mock
typing
typing-extensions
msal<2.0.0,>=1.12.0
msal-extensions~=1.0.0
msal-extensions<2.0.0,>=1.0.0
msrest>=0.6.21
msrestazure<2.0.0,>=0.4.32
azure-mgmt-core<2.0.0,>=1.3.0
Expand Down