/// <summary> /// Refreshes the expiration on a security token, this should be called /// periodically (recommend, once per session). /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='client'> /// Client short name /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> public static async Task <string> AccountPatchLoginAsync(this IAccounts operations, string client, CancellationToken cancellationToken = default(CancellationToken)) { using (var _result = await operations.AccountPatchLoginWithHttpMessagesAsync(client, null, cancellationToken).ConfigureAwait(false)) { return(_result.Body); } }