/// <summary> /// Resets the password for the currently logged in user. /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='client'> /// Client short name /// </param> /// <param name='id'> /// Id for the account /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> public static async Task PostResetPasswordAsync(this IAccounts operations, string client, string id, CancellationToken cancellationToken = default(CancellationToken)) { (await operations.PostResetPasswordWithHttpMessagesAsync(client, id, null, cancellationToken).ConfigureAwait(false)).Dispose(); }