Class GetTokenForTeamsUserOptions

java.lang.Object
com.azure.communication.identity.models.GetTokenForTeamsUserOptions

public final class GetTokenForTeamsUserOptions extends Object
  • Constructor Details

    • GetTokenForTeamsUserOptions

      public GetTokenForTeamsUserOptions(String teamsUserAadToken, String clientId, String userObjectId)
      Parameters:
      teamsUserAadToken - Azure AD access token of a Teams User.
      clientId - Client ID of an Azure AD application to be verified against the appId claim in the Azure AD access token.
      userObjectId - Object ID of an Azure AD user (Teams User) to be verified against the OID claim in the Azure AD access token.
  • Method Details

    • getTeamsUserAadToken

      public String getTeamsUserAadToken()
      Gets the Azure AD access token of a Teams User.
      Returns:
      the Azure AD access token of a Teams User.
    • getClientId

      public String getClientId()
      Gets the Client ID of an Azure AD application.
      Returns:
      the Client ID of an Azure AD application.
    • getUserObjectId

      public String getUserObjectId()
      Gets the Object ID of an Azure AD user (Teams User).
      Returns:
      the Object ID of an Azure AD user (Teams User).