RefreshTokensOperationsExtensions.GetFromExchangeAsync(IRefreshTokensOperations, String, String, String, String, String, CancellationToken) Method

Definition

public static System.Threading.Tasks.Task<Microsoft.Azure.ContainerRegistry.Models.RefreshToken> GetFromExchangeAsync (this Microsoft.Azure.ContainerRegistry.IRefreshTokensOperations operations, string grantType, string service, string tenant = default, string refreshToken = default, string accessToken = default, System.Threading.CancellationToken cancellationToken = default);
static member GetFromExchangeAsync : Microsoft.Azure.ContainerRegistry.IRefreshTokensOperations * string * string * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.ContainerRegistry.Models.RefreshToken>
<Extension()>
Public Function GetFromExchangeAsync (operations As IRefreshTokensOperations, grantType As String, service As String, Optional tenant As String = Nothing, Optional refreshToken As String = Nothing, Optional accessToken As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of RefreshToken)

Parameters

grantType
System.String
service
System.String
tenant
System.String
refreshToken
System.String
accessToken
System.String
cancellationToken
System.Threading.CancellationToken

Returns

System.Threading.Tasks.Task<RefreshToken>

Applies to