You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
print("Token issued with value: "+ tokenresponse.token)
76
+
```
77
+
78
+
### Revoking a user's access tokens
79
+
80
+
Use `revoke_tokens` to revoke all access tokens for a user. Pass in the user object as a parameter
81
+
```python
82
+
identity_client.revoke_tokens(user)
83
+
```
84
+
85
+
### Deleting a user
86
+
87
+
Use the `delete_user` method to delete a user. Pass in the user object as a parameter
88
+
```python
89
+
identity_client.delete_user(user)
90
+
```
52
91
53
92
# Troubleshooting
54
93
The Azure Communication Service Identity client will raise exceptions defined in [Azure Core][azure_core].
@@ -73,5 +112,4 @@ This project has adopted the [Microsoft Open Source Code of Conduct](https://ope
73
112
For more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or contact [[email protected]](mailto:[email protected]) with any additional questions or comments.
Copy file name to clipboardExpand all lines: sdk/communication/azure-communication-identity/azure/communication/identity/_communication_identity_client.py
Copy file name to clipboardExpand all lines: sdk/communication/azure-communication-identity/azure/communication/identity/_generated/_communication_identity_client.py
+2-1
Original file line number
Diff line number
Diff line change
@@ -25,7 +25,7 @@ class CommunicationIdentityClient(object):
Copy file name to clipboardExpand all lines: sdk/communication/azure-communication-identity/azure/communication/identity/_generated/aio/_communication_identity_client.py
+2-1
Original file line number
Diff line number
Diff line change
@@ -21,7 +21,7 @@ class CommunicationIdentityClient(object):
Copy file name to clipboardExpand all lines: sdk/communication/azure-communication-identity/azure/communication/identity/_generated/aio/_configuration.py
+2-2
Original file line number
Diff line number
Diff line change
@@ -19,7 +19,7 @@ class CommunicationIdentityClientConfiguration(Configuration):
19
19
Note that all parameters used to create this instance are saved as instance
20
20
attributes.
21
21
22
-
:param endpoint: Auth and Identity endpoint.
22
+
:param endpoint: The communication resource, for example https://my-resource.communication.azure.com.
0 commit comments