CommunicationTokenCredential Class

Credential type used for authenticating to an Azure Communication service. :param str token: The token used to authenticate to an Azure Communication service :keyword token_refresher: The async token refresher to provide capacity to fetch fresh token :raises: TypeError

Inheritance
builtins.object
CommunicationTokenCredential

Constructor

CommunicationTokenCredential(token: str, **kwargs: Any)

Parameters

token

Methods

close
get_token

The value of the configured token. :rtype: ~azure.core.credentials.AccessToken

close

async close() -> None

get_token

The value of the configured token. :rtype: ~azure.core.credentials.AccessToken

async get_token(*scopes, **kwargs)