Skip to content

Commit e1e2e0f

Browse files
xiangyan99pvaneck
andauthored
Add doc for pop request options (#37584)
* Add doc for pop request options * delete pop sample * Update sdk/identity/azure-identity-broker/azure/identity/broker/_browser.py Co-authored-by: Paul Van Eck <[email protected]> * Update sdk/identity/azure-identity-broker/azure/identity/broker/_browser.py Co-authored-by: Paul Van Eck <[email protected]> --------- Co-authored-by: Paul Van Eck <[email protected]>
1 parent 295c432 commit e1e2e0f

File tree

2 files changed

+8
-25
lines changed

2 files changed

+8
-25
lines changed

sdk/identity/azure-identity-broker/azure/identity/broker/_browser.py

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,16 @@
1717

1818

1919
class PopTokenRequestOptions(TokenRequestOptions):
20-
"""Options to use for pop token requests."""
20+
"""Options to use for Proof-of-Possession (PoP) token requests."""
2121

2222
pop: Union[bool, Mapping[str, str]]
23+
"""PoP token request options.
24+
25+
- If not specified or False, a non-PoP token request is made.
26+
- If True, an mTLS PoP token request is made.
27+
- If a dict, a Signed HTTP Request (SHR) PoP token request is made. The dict
28+
must contain the "resource_request_method", "resource_request_url", and "nonce" keys.
29+
"""
2330

2431

2532
class InteractiveBrowserBrokerCredential(_InteractiveBrowserCredential):

sdk/identity/azure-identity-broker/samples/pop_sample.py

Lines changed: 0 additions & 24 deletions
This file was deleted.

0 commit comments

Comments
 (0)