ExchangeService.GetClientAccessToken method (IEnumerable<KeyValuePair<String, ClientAccessTokenType>>)

Gets a collection of token identifiers and types based on key value pairs of token IDs and token types.

The GetClientAccessToken(IEnumerable<KeyValuePair<String, ClientAccessTokenType>>) method is applicable for clients that target Exchange Online and versions of Exchange starting with Exchange Server 2013.

Namespace:  Microsoft.Exchange.WebServices.Data
Assembly:  Microsoft.Exchange.WebServices (in Microsoft.Exchange.WebServices.dll)

'Declaration
Public Function GetClientAccessToken ( _
	idAndTypes As IEnumerable(Of KeyValuePair(Of String, ClientAccessTokenType)) _
) As ServiceResponseCollection(Of GetClientAccessTokenResponse)
'Usage
Dim instance As ExchangeService
Dim idAndTypes As IEnumerable(Of KeyValuePair(Of String, ClientAccessTokenType))
Dim returnValue As ServiceResponseCollection(Of GetClientAccessTokenResponse)

returnValue = instance.GetClientAccessToken(idAndTypes)

Parameters

idAndTypes
Type: System.Collections.Generic.IEnumerable<KeyValuePair<String, ClientAccessTokenType>>

The client access token ID and token type that identifies caller identity and extension callback information.

Return value

Type: Microsoft.Exchange.WebServices.Data.ServiceResponseCollection<GetClientAccessTokenResponse>
A collection of objects providing token results for each of the specified ID and type pairs.
Show: