ExchangeService.GetClientAccessToken Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
GetClientAccessToken(ClientAccessTokenRequest[]) |
Gets a collection of token identifiers and types based on an array of ClientAccessTokenRequest objects.The GetClientAccessToken(ClientAccessTokenRequest[]) method is applicable for clients that target Exchange Online and versions of Exchange starting with 15.00.0847.032. |
GetClientAccessToken(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. |
GetClientAccessToken(ClientAccessTokenRequest[])
Gets a collection of token identifiers and types based on an array of ClientAccessTokenRequest objects.The GetClientAccessToken(ClientAccessTokenRequest[]) method is applicable for clients that target Exchange Online and versions of Exchange starting with 15.00.0847.032.
public:
Microsoft::Exchange::WebServices::Data::ServiceResponseCollection<Microsoft::Exchange::WebServices::Data::GetClientAccessTokenResponse ^> ^ GetClientAccessToken(cli::array <Microsoft::Exchange::WebServices::Data::ClientAccessTokenRequest ^> ^ tokenRequests);
public Microsoft.Exchange.WebServices.Data.ServiceResponseCollection<Microsoft.Exchange.WebServices.Data.GetClientAccessTokenResponse> GetClientAccessToken (Microsoft.Exchange.WebServices.Data.ClientAccessTokenRequest[] tokenRequests);
Public Function GetClientAccessToken (tokenRequests As ClientAccessTokenRequest()) As ServiceResponseCollection(Of GetClientAccessTokenResponse)
Parameters
- tokenRequests
- ClientAccessTokenRequest[]
Token requests array
Returns
A collection of objects providing token results for each of the specified token requests.
Applies to
GetClientAccessToken(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.
public:
Microsoft::Exchange::WebServices::Data::ServiceResponseCollection<Microsoft::Exchange::WebServices::Data::GetClientAccessTokenResponse ^> ^ GetClientAccessToken(System::Collections::Generic::IEnumerable<System::Collections::Generic::KeyValuePair<System::String ^, Microsoft::Exchange::WebServices::Data::ClientAccessTokenType>> ^ idAndTypes);
public Microsoft.Exchange.WebServices.Data.ServiceResponseCollection<Microsoft.Exchange.WebServices.Data.GetClientAccessTokenResponse> GetClientAccessToken (System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<string,Microsoft.Exchange.WebServices.Data.ClientAccessTokenType>> idAndTypes);
Public Function GetClientAccessToken (idAndTypes As IEnumerable(Of KeyValuePair(Of String, ClientAccessTokenType))) As ServiceResponseCollection(Of GetClientAccessTokenResponse)
Parameters
- idAndTypes
- IEnumerable<KeyValuePair<String,ClientAccessTokenType>>
The client access token ID and token type that identifies caller identity and extension callback information.
Returns
A collection of objects providing token results for each of the specified ID and type pairs.