Dela via


CommunicationIdentityClient Class

Definition

The Azure Communication Services Identity client.

public class CommunicationIdentityClient
type CommunicationIdentityClient = class
Public Class CommunicationIdentityClient
Inheritance
CommunicationIdentityClient

Constructors

CommunicationIdentityClient()

Initializes a new instance of CommunicationIdentityClient for mocking.

CommunicationIdentityClient(String)

Initializes a new instance of CommunicationIdentityClient.

CommunicationIdentityClient(String, CommunicationIdentityClientOptions)

Initializes a new instance of CommunicationIdentityClient.

CommunicationIdentityClient(Uri, AzureKeyCredential, CommunicationIdentityClientOptions)

Initializes a new instance of CommunicationIdentityClient.

CommunicationIdentityClient(Uri, TokenCredential, CommunicationIdentityClientOptions)

Initializes a new instance of CommunicationIdentityClient.

Methods

CreateUser(CancellationToken)

Creates a new CommunicationUserIdentifier.

CreateUserAndToken(IEnumerable<CommunicationTokenScope>, CancellationToken)

Creates a new CommunicationUserIdentifier.

CreateUserAndToken(IEnumerable<CommunicationTokenScope>, TimeSpan, CancellationToken)

Creates a new CommunicationUserIdentifier.

CreateUserAndTokenAsync(IEnumerable<CommunicationTokenScope>, CancellationToken)

Asynchronously creates a new CommunicationUserIdentifier.

CreateUserAndTokenAsync(IEnumerable<CommunicationTokenScope>, TimeSpan, CancellationToken)

Asynchronously creates a new CommunicationUserIdentifier.

CreateUserAsync(CancellationToken)

Asynchronously creates a new CommunicationUserIdentifier.

DeleteUser(CommunicationUserIdentifier, CancellationToken)

Asynchronously deletes a CommunicationUserIdentifier, revokes its tokens and deletes its data.

DeleteUserAsync(CommunicationUserIdentifier, CancellationToken)

Asynchronously deletes a CommunicationUserIdentifier, revokes its tokens and deletes its data.

GetToken(CommunicationUserIdentifier, IEnumerable<CommunicationTokenScope>, CancellationToken)

Gets a Communication Identity access token for a CommunicationUserIdentifier.

GetToken(CommunicationUserIdentifier, IEnumerable<CommunicationTokenScope>, TimeSpan, CancellationToken)

Gets a Communication Identity access token for a CommunicationUserIdentifier.

GetTokenAsync(CommunicationUserIdentifier, IEnumerable<CommunicationTokenScope>, CancellationToken)

Asynchronously gets a Communication Identity access token for a CommunicationUserIdentifier.

GetTokenAsync(CommunicationUserIdentifier, IEnumerable<CommunicationTokenScope>, TimeSpan, CancellationToken)

Asynchronously gets a Communication Identity access token for a CommunicationUserIdentifier.

GetTokenForTeamsUser(GetTokenForTeamsUserOptions, CancellationToken)

Exchange an Azure AD access token of a Teams User for a Communication Identity access token.

GetTokenForTeamsUserAsync(GetTokenForTeamsUserOptions, CancellationToken)

Asynchronously exchange an Azure AD access token of a Teams User for a Communication Identity access token.

RevokeTokens(CommunicationUserIdentifier, CancellationToken)

Revokes all the tokens created for a user.

RevokeTokensAsync(CommunicationUserIdentifier, CancellationToken)

Asynchronously revokes all the tokens created for a CommunicationUserIdentifier.

Applies to