共用方式為


IRefreshTokensOperations.GetFromExchangeWithHttpMessagesAsync Method

Definition

public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.ContainerRegistry.Models.RefreshToken>> GetFromExchangeWithHttpMessagesAsync (string grantType, string service, string tenant = default, string refreshToken = default, string accessToken = default, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetFromExchangeWithHttpMessagesAsync : string * string * string * string * string * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.ContainerRegistry.Models.RefreshToken>>
Public Function GetFromExchangeWithHttpMessagesAsync (grantType As String, service As String, Optional tenant As String = Nothing, Optional refreshToken As String = Nothing, Optional accessToken As String = Nothing, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AzureOperationResponse(Of RefreshToken))

Parameters

grantType
String
service
String
tenant
String
refreshToken
String
accessToken
String
customHeaders
Dictionary<String,List<String>>
cancellationToken
CancellationToken

Returns

Applies to