Skip to content

Commit b3c4703

Browse files
authored
Merge pull request #59 from MicrosoftDocs/smoke-test
CI changes - 1.27.0 release
2 parents 53b4b13 + dce333c commit b3c4703

File tree

4 files changed

+86
-23
lines changed

4 files changed

+86
-23
lines changed

python/docs-ref-autogen/msal/msal.application.ClientApplication.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -696,13 +696,13 @@ methods:
696696
types:
697697
- <xref:str>
698698
- name: prompt
699-
description: 'By default, no prompt value will be sent, not even "none".
699+
description: 'By default, no prompt value will be sent, not even string `"none"`.
700700
701701
You will have to specify a value explicitly.
702702
703-
Its valid values are defined in Open ID Connect specs
703+
Its valid values are the constants defined in
704704
705-
[https://openid.net/specs/openid-connect-core-1_0.html#AuthRequest](https://openid.net/specs/openid-connect-core-1_0.html#AuthRequest)'
705+
<xref:msal.Prompt>.'
706706
defaultValue: None
707707
types:
708708
- <xref:str>
@@ -774,13 +774,13 @@ methods:
774774
types:
775775
- <xref:str>
776776
- name: prompt
777-
description: 'By default, no prompt value will be sent, not even "none".
777+
description: 'By default, no prompt value will be sent, not even string `"none"`.
778778
779779
You will have to specify a value explicitly.
780780
781-
Its valid values are defined in Open ID Connect specs
781+
Its valid values are the constants defined in
782782
783-
[https://openid.net/specs/openid-connect-core-1_0.html#AuthRequest](https://openid.net/specs/openid-connect-core-1_0.html#AuthRequest)'
783+
<xref:msal.Prompt>.'
784784
defaultValue: None
785785
types:
786786
- <xref:str>

python/docs-ref-autogen/msal/msal.application.ConfidentialClientApplication.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -383,3 +383,10 @@ methods:
383383
description: "A dict representing the json response from AAD:\n\n* A successful\
384384
\ response would contain \"access_token\" key, \n\n* an error response would\
385385
\ contain \"error\" and usually \"error_description\"."
386+
- uid: msal.application.ConfidentialClientApplication.remove_tokens_for_client
387+
name: remove_tokens_for_client
388+
summary: 'Remove all tokens that were previously acquired via
389+
390+
<xref:msal.application.ConfidentialClientApplication.acquire_token_for_client>
391+
for the current client.'
392+
signature: remove_tokens_for_client()

python/docs-ref-autogen/msal/msal.application.PublicClientApplication.yml

Lines changed: 33 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,28 @@ summary: "Same as <xref:ClientApplication.__init__>,\nexcept that `client_creden
1717
\ more secure.\n>\n> \n>\n> An additional benefit of broker is,\n>\n> it runs as\
1818
\ a long-lived process with your device's OS,\n>\n> and maintains its own cache,\n\
1919
>\n> so that your broker-enabled apps (even a CLI)\n>\n> could automatically SSO\
20-
\ from a previously established signed-in session.\n>\n> \n>\n> ADFS and B2C do\
21-
\ not support broker.\n>\n> MSAL will automatically fallback to use browser.\n>\n\
22-
> \n>\n> You shall only enable broker when your app:\n>\n> \n>\n> is running on\
23-
\ supported platforms,\n>\n> and already registered their corresponding redirect_uri\n\
24-
>\n> \n>\n> ms-appx-web://Microsoft.AAD.BrokerPlugin/your_client_id\n>\n> if your\
25-
\ app is expected to run on Windows 10+\n>\n> \n>\n> installed broker dependency,\n\
26-
>\n> e.g. pip install msal[broker]>=1.25,<2.\n>\n> \n>\n> tested with acquire_token_interactive()\
27-
\ and acquire_token_silent().\n>"
20+
\ from a previously established signed-in session.\n>\n> \n>\n> You shall only enable\
21+
\ broker when your app:\n>\n> \n>\n> is running on supported platforms,\n>\n> and\
22+
\ already registered their corresponding redirect_uri\n>\n> \n>\n> ms-appx-web://Microsoft.AAD.BrokerPlugin/your_client_id\n\
23+
>\n> if your app is expected to run on Windows 10+\n>\n> \n>\n> installed broker\
24+
\ dependency,\n>\n> e.g. pip install msal[broker]>=1.25,<2.\n>\n> \n>\n> tested\
25+
\ with acquire_token_interactive() and acquire_token_silent().\n>\n> \n>\n> The\
26+
\ fallback behaviors of MSAL Python's broker support\n>\n> \n>\n> MSAL will either\
27+
\ error out, or silently fallback to non-broker flows.\n>\n> \n>\n> MSAL will ignore\
28+
\ the enable_broker_... and bypass broker\n>\n> on those auth flows that are known\
29+
\ to be NOT supported by broker.\n>\n> This includes ADFS, B2C, etc..\n>\n> For\
30+
\ other \"could-use-broker\" scenarios, please see below.\n>\n> \n>\n> MSAL errors\
31+
\ out when app developer opted-in to use broker\n>\n> but a direct dependency \"\
32+
mid-tier\" package is not installed.\n>\n> Error message guides app developer to\
33+
\ declare the correct dependency\n>\n> msal[broker].\n>\n> We error out here because\
34+
\ the error is actionable to app developers.\n>\n> \n>\n> MSAL silently \"deactivates\"\
35+
\ the broker and fallback to non-broker,\n>\n> when opted-in, dependency installed\
36+
\ yet failed to initialize.\n>\n> We anticipate this would happen on a device whose\
37+
\ OS is too old\n>\n> or the underlying broker component is somehow unavailable.\n\
38+
>\n> There is not much an app developer or the end user can do here.\n>\n> Eventually,\
39+
\ the conditional access policy shall\n>\n> force the user to switch to a different\
40+
\ device.\n>\n> \n>\n> MSAL errors out when broker is opted in, installed, initialized,\n\
41+
>\n> but subsequent token request(s) failed.\n>"
2842
constructor:
2943
syntax: PublicClientApplication(client_id, client_credential=None, **kwargs)
3044
parameters:
@@ -100,13 +114,13 @@ methods:
100114
types:
101115
- <xref:list>
102116
- name: prompt
103-
description: 'By default, no prompt value will be sent, not even "none".
117+
description: 'By default, no prompt value will be sent, not even string `"none"`.
104118
105119
You will have to specify a value explicitly.
106120
107-
Its valid values are defined in Open ID Connect specs
121+
Its valid values are the constants defined in
108122
109-
[https://openid.net/specs/openid-connect-core-1_0.html#AuthRequest](https://openid.net/specs/openid-connect-core-1_0.html#AuthRequest)'
123+
<xref:msal.Prompt>.'
110124
defaultValue: None
111125
types:
112126
- <xref:str>
@@ -192,15 +206,21 @@ methods:
192206
types:
193207
- <xref:int>
194208
- name: parent_window_handle
195-
description: 'OPTIONAL. If your app is a GUI app running on modern Windows system,
209+
description: 'Required if your app is running on Windows and opted in to use broker.
196210
197-
and your app opts in to use broker,
211+
212+
If your app is a GUI app,
198213
199214
you are recommended to also provide its window handle,
200215
201216
so that the sign in UI window will properly pop up on top of your window.
202217
203218
219+
If your app is a console app (most Python scripts are console apps),
220+
221+
you can use a placeholder value `msal.PublicClientApplication.CONSOLE_WINDOW_HANDLE`.
222+
223+
204224
New in version 1.20.0.'
205225
defaultValue: None
206226
types:

xrefmap.yml

Lines changed: 40 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2227,6 +2227,18 @@ references:
22272227
href: https://docs.python.org/3/library/enum.html#enum.Enum._ignore_
22282228
name: _ignore_
22292229
uid: enum.Enum._ignore_
2230+
- fullName: enum.Enum._name_
2231+
href: https://docs.python.org/3/library/enum.html#enum.Enum._name_
2232+
name: _name_
2233+
uid: enum.Enum._name_
2234+
- fullName: enum.Enum._order_
2235+
href: https://docs.python.org/3/library/enum.html#enum.Enum._order_
2236+
name: _order_
2237+
uid: enum.Enum._order_
2238+
- fullName: enum.Enum._value_
2239+
href: https://docs.python.org/3/library/enum.html#enum.Enum._value_
2240+
name: _value_
2241+
uid: enum.Enum._value_
22302242
- fullName: enum.Enum.name
22312243
href: https://docs.python.org/3/library/enum.html#enum.Enum.name
22322244
name: name
@@ -2247,6 +2259,10 @@ references:
22472259
href: https://docs.python.org/3/library/enum.html#enum.EnumCheck.UNIQUE
22482260
name: UNIQUE
22492261
uid: enum.EnumCheck.UNIQUE
2262+
- fullName: enum.EnumType.__members__
2263+
href: https://docs.python.org/3/library/enum.html#enum.EnumType.__members__
2264+
name: __members__
2265+
uid: enum.EnumType.__members__
22502266
- fullName: enum.FlagBoundary.CONFORM
22512267
href: https://docs.python.org/3/library/enum.html#enum.FlagBoundary.CONFORM
22522268
name: CONFORM
@@ -8071,6 +8087,10 @@ references:
80718087
href: https://docs.python.org/3/reference/datamodel.html#codeobject.co_positions
80728088
name: co_positions
80738089
uid: codeobject.co_positions
8090+
- fullName: codeobject.replace
8091+
href: https://docs.python.org/3/reference/datamodel.html#codeobject.replace
8092+
name: replace
8093+
uid: codeobject.replace
80748094
- fullName: collections.ChainMap.new_child
80758095
href: https://docs.python.org/3/library/collections.html#collections.ChainMap.new_child
80768096
name: new_child
@@ -10331,10 +10351,18 @@ references:
1033110351
href: https://docs.python.org/3/library/enum.html#enum.Enum.__format__
1033210352
name: __format__
1033310353
uid: enum.Enum.__format__
10354+
- fullName: enum.Enum.__init__
10355+
href: https://docs.python.org/3/library/enum.html#enum.Enum.__init__
10356+
name: __init__
10357+
uid: enum.Enum.__init__
1033410358
- fullName: enum.Enum.__init_subclass__
1033510359
href: https://docs.python.org/3/library/enum.html#enum.Enum.__init_subclass__
1033610360
name: __init_subclass__
1033710361
uid: enum.Enum.__init_subclass__
10362+
- fullName: enum.Enum.__new__
10363+
href: https://docs.python.org/3/library/enum.html#enum.Enum.__new__
10364+
name: __new__
10365+
uid: enum.Enum.__new__
1033810366
- fullName: enum.Enum.__repr__
1033910367
href: https://docs.python.org/3/library/enum.html#enum.Enum.__repr__
1034010368
name: __repr__
@@ -16851,10 +16879,6 @@ references:
1685116879
href: https://docs.python.org/3/library/turtle.html#turtle.Shape.addcomponent
1685216880
name: addcomponent
1685316881
uid: turtle.Shape.addcomponent
16854-
- fullName: types.CodeType.replace
16855-
href: https://docs.python.org/3/library/types.html#types.CodeType.replace
16856-
name: replace
16857-
uid: types.CodeType.replace
1685816882
- fullName: types.MappingProxyType.copy
1685916883
href: https://docs.python.org/3/library/types.html#types.MappingProxyType.copy
1686016884
name: copy
@@ -21503,6 +21527,14 @@ references:
2150321527
href: https://docs.python.org/3/library/msilib.html#msilib.text
2150421528
name: text
2150521529
uid: msilib.text
21530+
- fullName: msvcrt.CRT_ASSEMBLY_VERSION
21531+
href: https://docs.python.org/3/library/msvcrt.html#msvcrt.CRT_ASSEMBLY_VERSION
21532+
name: CRT_ASSEMBLY_VERSION
21533+
uid: msvcrt.CRT_ASSEMBLY_VERSION
21534+
- fullName: msvcrt.LIBRARIES_ASSEMBLY_NAME_PREFIX
21535+
href: https://docs.python.org/3/library/msvcrt.html#msvcrt.LIBRARIES_ASSEMBLY_NAME_PREFIX
21536+
name: LIBRARIES_ASSEMBLY_NAME_PREFIX
21537+
uid: msvcrt.LIBRARIES_ASSEMBLY_NAME_PREFIX
2150621538
- fullName: msvcrt.LK_LOCK
2150721539
href: https://docs.python.org/3/library/msvcrt.html#msvcrt.LK_LOCK
2150821540
name: LK_LOCK
@@ -21523,6 +21555,10 @@ references:
2152321555
href: https://docs.python.org/3/library/msvcrt.html#msvcrt.LK_UNLCK
2152421556
name: LK_UNLCK
2152521557
uid: msvcrt.LK_UNLCK
21558+
- fullName: msvcrt.VC_ASSEMBLY_PUBLICKEYTOKEN
21559+
href: https://docs.python.org/3/library/msvcrt.html#msvcrt.VC_ASSEMBLY_PUBLICKEYTOKEN
21560+
name: VC_ASSEMBLY_PUBLICKEYTOKEN
21561+
uid: msvcrt.VC_ASSEMBLY_PUBLICKEYTOKEN
2152621562
- fullName: object.__match_args__
2152721563
href: https://docs.python.org/3/reference/datamodel.html#object.__match_args__
2152821564
name: __match_args__

0 commit comments

Comments
 (0)