|
22 | 22 |
|
23 | 23 |
|
24 | 24 | # The __init__.py will import this. Not the other way around. |
25 | | -__version__ = "1.31.0" # When releasing, also check and bump our dependencies's versions if needed |
| 25 | +__version__ = "1.32.0" # When releasing, also check and bump our dependencies's versions if needed |
26 | 26 |
|
27 | 27 | logger = logging.getLogger(__name__) |
28 | 28 | _AUTHORITY_TYPE_CLOUDSHELL = "CLOUDSHELL" |
@@ -1994,17 +1994,19 @@ def __init__(self, client_id, client_credential=None, **kwargs): |
1994 | 1994 | :param boolean enable_broker_on_linux: |
1995 | 1995 | This setting is only effective if your app is running on Linux. |
1996 | 1996 | This parameter defaults to None, which means MSAL will not utilize a broker. |
1997 | | - |
| 1997 | +
|
1998 | 1998 | New in MSAL Python 1.32.0. |
1999 | 1999 | """ |
2000 | 2000 | if client_credential is not None: |
2001 | 2001 | raise ValueError("Public Client should not possess credentials") |
2002 | 2002 | # Using kwargs notation for now. We will switch to keyword-only arguments. |
2003 | 2003 | enable_broker_on_windows = kwargs.pop("enable_broker_on_windows", False) |
2004 | 2004 | enable_broker_on_mac = kwargs.pop("enable_broker_on_mac", False) |
| 2005 | + enable_broker_on_linux = kwargs.pop("enable_broker_on_linux", False) |
2005 | 2006 | self._enable_broker = bool( |
2006 | 2007 | enable_broker_on_windows and sys.platform == "win32" |
2007 | | - or enable_broker_on_mac and sys.platform == "darwin") |
| 2008 | + or enable_broker_on_mac and sys.platform == "darwin" |
| 2009 | + or enable_broker_on_linux and sys.platform == "linux") |
2008 | 2010 | super(PublicClientApplication, self).__init__( |
2009 | 2011 | client_id, client_credential=None, **kwargs) |
2010 | 2012 |
|
|
0 commit comments